POST api/User/BindTB

淘宝授权

Request Information

URI Parameters

None.

Body Parameters

TaobaoInfoParam
NameDescriptionTypeAdditional information
top_sign

string

None.

w2_expires_in

string

None.

access_token

string

None.

w1_expires_in

string

None.

taobao_user_id

string

None.

re_expires_in

string

None.

taobao_user_nick

string

None.

state

string

None.

token_type

string

None.

r1_expires_in

string

None.

r2_expires_in

string

None.

expires_in

string

None.

taobao_open_uid

string

None.

refresh_token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "top_sign": "sample string 1",
  "w2_expires_in": "sample string 2",
  "access_token": "sample string 3",
  "w1_expires_in": "sample string 4",
  "taobao_user_id": "sample string 5",
  "re_expires_in": "sample string 6",
  "taobao_user_nick": "sample string 7",
  "state": "sample string 8",
  "token_type": "sample string 9",
  "r1_expires_in": "sample string 10",
  "r2_expires_in": "sample string 11",
  "expires_in": "sample string 12",
  "taobao_open_uid": "sample string 13",
  "refresh_token": "sample string 14"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

淘宝授权

ApiResultModel
NameDescriptionTypeAdditional information
code

0:正确 100:错误 403:需要重新登录

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

登陆时候是否需要弹窗填些邀请码 1:需要

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2",
  "submsg": "sample string 3",
  "isinvitation": 4
}