跳至主要內容

用户中心

Alex大约 72 分钟开发文档API接口文档

fdsaf

v1.0.0

Base URLs:

Authentication

用户地址表

POST 用户地址表

POST /front/account/userDeliveryAddress/add

用户地址表

请求参数

名称位置类型必选说明
udAddressquerystring详细地址
udCityquerystring
udCityIdqueryinteger市编号
udCountyquerystring县区
udCountyIdqueryinteger
udIntlquerystring国家编码
udIsDefaultquerystring是否默认(BOOL):0-非默认;1-默认
udLatitudequerynumber纬读
udLongitudequerynumber经度
udMobilequerystring手机号码
udNamequerystring联系人
udPostalcodequerystring邮政编码
udProvincequerystring省份
udProvinceIdqueryinteger省编号
udTagNamequerystring地址标签(ENUM):1001-家里;1002-公司
udTelephonequerystring联系电话
udTimequerystring添加时间
userIdqueryinteger用户编号

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 用户地址表-通过ud_id查询

GET /front/account/userDeliveryAddress/get

用户地址表-通过ud_id查询

请求参数

名称位置类型必选说明
ud_idqueryintegerud_id

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 用户地址表

GET /front/account/userDeliveryAddress/list

用户地址表

请求参数

名称位置类型必选说明
createTimeEndquerystring创建时间结束值
createTimeStartquerystring创建时间起始值
like[0].columnquerystring搜索字段
like[0].likequerystring搜索字符
order[0].sidxquerystring排序字段
order[0].sortquerystring排序方式
pagequeryinteger分页查询页码
sidxquerystring排序字段
sizequeryinteger分页查询每页数量
sortquerystring排序方式
udAddressquerystring详细地址
udCityquerystring
udCityIdqueryinteger市编号
udCountyquerystring县区
udCountyIdqueryinteger
udIdqueryinteger地址编号
udIntlquerystring国家编码
udIsDefaultquerystring是否默认(BOOL):0-非默认;1-默认
udLatitudequerynumber纬读
udLongitudequerynumber经度
udMobilequerystring手机号码
udNamequerystring联系人
udPostalcodequerystring邮政编码
udProvincequerystring省份
udProvinceIdqueryinteger省编号
udTagNamequerystring地址标签(ENUM):1001-家里;1002-公司
udTelephonequerystring联系电话
udTimequerystring添加时间
userIdqueryinteger用户编号

返回示例

200 Response

{
  "code": 0,
  "data": {
    "items": [
      {
        "ud_address": "string",
        "ud_city": "string",
        "ud_city_id": 0,
        "ud_county": "string",
        "ud_county_id": 0,
        "ud_id": 0,
        "ud_intl": "string",
        "ud_is_default": false,
        "ud_latitude": 0,
        "ud_longitude": 0,
        "ud_mobile": "string",
        "ud_name": "string",
        "ud_postalcode": "string",
        "ud_province": "string",
        "ud_province_id": 0,
        "ud_tag_name": "string",
        "ud_telephone": "string",
        "ud_time": "2019-08-24T14:15:22Z",
        "user_id": 0
      }
    ],
    "page": 0,
    "records": 0,
    "size": 0,
    "total": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 用户地址表-通过ud_id删除

POST /front/account/userDeliveryAddress/remove

用户地址表-通过ud_id删除

请求参数

名称位置类型必选说明
ud_idqueryintegerud_id

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 用户地址表-编辑

POST /front/account/userDeliveryAddress/save

用户地址表-编辑

请求参数

名称位置类型必选说明
udAddressquerystring详细地址
udCityquerystring
udCityIdqueryinteger市编号
udCountyquerystring县区
udCountyIdqueryinteger
udIdqueryinteger地址编号
udIntlquerystring国家编码
udIsDefaultquerystring是否默认(BOOL):0-非默认;1-默认
udLatitudequerynumber纬读
udLongitudequerynumber经度
udMobilequerystring手机号码
udNamequerystring联系人
udPostalcodequerystring邮政编码
udProvincequerystring省份
udProvinceIdqueryinteger省编号
udTagNamequerystring地址标签(ENUM):1001-家里;1002-公司
udTelephonequerystring联系电话
udTimequerystring添加时间
userIdqueryinteger用户编号

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 用户地址表-添加

POST /manage/account/userDeliveryAddress/add

用户地址表-添加

请求参数

名称位置类型必选说明
udAddressquerystring详细地址
udCityquerystring
udCityIdqueryinteger市编号
udCountyquerystring县区
udCountyIdqueryinteger
udIntlquerystring国家编码
udIsDefaultquerystring是否默认(BOOL):0-非默认;1-默认
udLatitudequerynumber纬读
udLongitudequerynumber经度
udMobilequerystring手机号码
udNamequerystring联系人
udPostalcodequerystring邮政编码
udProvincequerystring省份
udProvinceIdqueryinteger省编号
udTagNamequerystring地址标签(ENUM):1001-家里;1002-公司
udTelephonequerystring联系电话
udTimequerystring添加时间
userIdqueryinteger用户编号

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 用户地址表-编辑

POST /manage/account/userDeliveryAddress/edit

用户地址表-编辑

请求参数

名称位置类型必选说明
udAddressquerystring详细地址
udCityquerystring
udCityIdqueryinteger市编号
udCountyquerystring县区
udCountyIdqueryinteger
udIdqueryinteger地址编号
udIntlquerystring国家编码
udIsDefaultquerystring是否默认(BOOL):0-非默认;1-默认
udLatitudequerynumber纬读
udLongitudequerynumber经度
udMobilequerystring手机号码
udNamequerystring联系人
udPostalcodequerystring邮政编码
udProvincequerystring省份
udProvinceIdqueryinteger省编号
udTagNamequerystring地址标签(ENUM):1001-家里;1002-公司
udTelephonequerystring联系电话
udTimequerystring添加时间
userIdqueryinteger用户编号

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 用户地址表-分页列表查询

GET /manage/account/userDeliveryAddress/list

用户地址表-分页列表查询

请求参数

名称位置类型必选说明
createTimeEndquerystring创建时间结束值
createTimeStartquerystring创建时间起始值
like[0].columnquerystring搜索字段
like[0].likequerystring搜索字符
order[0].sidxquerystring排序字段
order[0].sortquerystring排序方式
pagequeryinteger分页查询页码
sidxquerystring排序字段
sizequeryinteger分页查询每页数量
sortquerystring排序方式
udAddressquerystring详细地址
udCityquerystring
udCityIdqueryinteger市编号
udCountyquerystring县区
udCountyIdqueryinteger
udIdqueryinteger地址编号
udIntlquerystring国家编码
udIsDefaultquerystring是否默认(BOOL):0-非默认;1-默认
udLatitudequerynumber纬读
udLongitudequerynumber经度
udMobilequerystring手机号码
udNamequerystring联系人
udPostalcodequerystring邮政编码
udProvincequerystring省份
udProvinceIdqueryinteger省编号
udTagNamequerystring地址标签(ENUM):1001-家里;1002-公司
udTelephonequerystring联系电话
udTimequerystring添加时间
userIdqueryinteger用户编号

返回示例

200 Response

{
  "code": 0,
  "data": {
    "items": [
      {
        "ud_address": "string",
        "ud_city": "string",
        "ud_city_id": 0,
        "ud_county": "string",
        "ud_county_id": 0,
        "ud_id": 0,
        "ud_intl": "string",
        "ud_is_default": false,
        "ud_latitude": 0,
        "ud_longitude": 0,
        "ud_mobile": "string",
        "ud_name": "string",
        "ud_postalcode": "string",
        "ud_province": "string",
        "ud_province_id": 0,
        "ud_tag_name": "string",
        "ud_telephone": "string",
        "ud_time": "2019-08-24T14:15:22Z",
        "user_id": 0
      }
    ],
    "page": 0,
    "records": 0,
    "size": 0,
    "total": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 用户地址表-通过ud_id删除

POST /manage/account/userDeliveryAddress/remove

用户地址表-通过ud_id删除

请求参数

名称位置类型必选说明
ud_idqueryintegerud_id

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 用户地址表-批量删除

POST /manage/account/userDeliveryAddress/removeBatch

用户地址表-批量删除

请求参数

名称位置类型必选说明
ud_idquerystringud_id

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

用户发票管理

POST 添加用户发票管理

POST /front/account/userInvoice/add

添加用户发票管理

请求参数

名称位置类型必选说明
invoiceAddressquerystring单位地址
invoiceBankaccountquerystring银行账号
invoiceBanknamequerystring开户银行
invoiceCompanyCodequerystring纳税人识别号
invoiceContactAddressquerystring收票详细地址
invoiceContactAreaquerystring收票人地区
invoiceContactEmailquerystring收票人邮箱
invoiceContactMobilequerystring收票人手机
invoiceContactNamequerystring收票人
invoiceContentquerystring发票内容
invoiceDatetimequerystring添加时间
invoiceIsCompanyquerystring公司开票(BOOL):0-个人;1-公司
invoiceIsDefaultquerystring是否默认
invoiceIsElectronicqueryinteger电子发票(ENUM):0-纸质发票;1-电子发票
invoicePhonequerystring单位电话
invoiceTitlequerystring发票抬头
invoiceTypequeryinteger发票类型(ENUM):1-普通发票;2-增值税专用发票
userIdqueryinteger所属用户

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 用户发票管理表-编辑

POST /front/account/userInvoice/edit

用户发票管理表-编辑

请求参数

名称位置类型必选说明
invoiceAddressquerystring单位地址
invoiceBankaccountquerystring银行账号
invoiceBanknamequerystring开户银行
invoiceCompanyCodequerystring纳税人识别号
invoiceContactAddressquerystring收票详细地址
invoiceContactAreaquerystring收票人地区
invoiceContactEmailquerystring收票人邮箱
invoiceContactMobilequerystring收票人手机
invoiceContactNamequerystring收票人
invoiceContentquerystring发票内容
invoiceDatetimequerystring添加时间
invoiceIsCompanyquerystring公司开票(BOOL):0-个人;1-公司
invoiceIsDefaultquerystring是否默认
invoiceIsElectronicqueryinteger电子发票(ENUM):0-纸质发票;1-电子发票
invoicePhonequerystring单位电话
invoiceTitlequerystring发票抬头
invoiceTypequeryinteger发票类型(ENUM):1-普通发票;2-增值税专用发票
userIdqueryinteger所属用户
userInvoiceIdqueryinteger发票编号

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 用户发票管理表-通过user_invoice_id查询

GET /front/account/userInvoice/get

用户发票管理表-通过user_invoice_id查询

请求参数

名称位置类型必选说明
user_invoice_idqueryintegeruser_invoice_id

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 发票列表

GET /front/account/userInvoice/list

发票列表

请求参数

名称位置类型必选说明
createTimeEndquerystring创建时间结束值
createTimeStartquerystring创建时间起始值
invoiceAddressquerystring单位地址
invoiceBankaccountquerystring银行账号
invoiceBanknamequerystring开户银行
invoiceCompanyCodequerystring纳税人识别号
invoiceContactAddressquerystring收票详细地址
invoiceContactAreaquerystring收票人地区
invoiceContactEmailquerystring收票人邮箱
invoiceContactMobilequerystring收票人手机
invoiceContactNamequerystring收票人
invoiceContentquerystring发票内容
invoiceDatetimequerystring添加时间
invoiceIsCompanyquerystring公司开票(BOOL):0-个人;1-公司
invoiceIsDefaultquerystring是否默认
invoiceIsElectronicqueryinteger电子发票(ENUM):0-纸质发票;1-电子发票
invoicePhonequerystring单位电话
invoiceTitlequerystring发票抬头
invoiceTypequeryinteger发票类型(ENUM):1-普通发票;2-增值税专用发票
like[0].columnquerystring搜索字段
like[0].likequerystring搜索字符
order[0].sidxquerystring排序字段
order[0].sortquerystring排序方式
pagequeryinteger分页查询页码
sidxquerystring排序字段
sizequeryinteger分页查询每页数量
sortquerystring排序方式
userIdqueryinteger所属用户
userInvoiceIdqueryinteger发票编号

返回示例

200 Response

{
  "code": 0,
  "data": {
    "items": [
      {
        "invoice_address": "string",
        "invoice_bankaccount": "string",
        "invoice_bankname": "string",
        "invoice_company_code": "string",
        "invoice_contact_address": "string",
        "invoice_contact_area": "string",
        "invoice_contact_email": "string",
        "invoice_contact_mobile": "string",
        "invoice_contact_name": "string",
        "invoice_content": "string",
        "invoice_datetime": "2019-08-24T14:15:22Z",
        "invoice_is_company": false,
        "invoice_is_default": false,
        "invoice_is_electronic": 0,
        "invoice_phone": "string",
        "invoice_title": "string",
        "invoice_type": 0,
        "user_id": 0,
        "user_invoice_id": 0
      }
    ],
    "page": 0,
    "records": 0,
    "size": 0,
    "total": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 用户发票管理表-通过user_invoice_id删除

POST /front/account/userInvoice/remove

用户发票管理表-通过user_invoice_id删除

请求参数

名称位置类型必选说明
user_invoice_idqueryintegeruser_invoice_id

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

登录接口

GET 短信登录接口

GET /front/account/login/doSmsLogin

短信登录接口

请求参数

名称位置类型必选说明
bindTypequeryinteger注册方式=>BindConnectCode
encryptquerystring密码是否加密
passwordquerystring用户密码
userAccountquerystring用户账号
verifyCodequerystring验证码
verifyKeyquerystring验证码KEY

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 短信登录接口

POST /front/account/login/doSmsLogin

短信登录接口

请求参数

名称位置类型必选说明
bindTypequeryinteger注册方式=>BindConnectCode
encryptquerystring密码是否加密
passwordquerystring用户密码
userAccountquerystring用户账号
verifyCodequerystring验证码
verifyKeyquerystring验证码KEY

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 登录接口

GET /front/account/login/login

登录接口

请求参数

名称位置类型必选说明
encryptquerystring密码是否加密
passwordquerystring用户密码
userAccountquerystring用户账号
verifyCodequerystring验证码
verifyKeyquerystring验证码KEY

返回示例

200 Response

{
  "code": 0,
  "data": {
    "token": "string",
    "user_id": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 登录接口

POST /front/account/login/login

登录接口

请求参数

名称位置类型必选说明
encryptquerystring密码是否加密
passwordquerystring用户密码
userAccountquerystring用户账号
verifyCodequerystring验证码
verifyKeyquerystring验证码KEY

返回示例

200 Response

{
  "code": 0,
  "data": {
    "token": "string",
    "user_id": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 退出登录

GET /front/account/login/logout

退出登录

请求参数

名称位置类型必选说明
encryptquerystring密码是否加密
passwordquerystring用户密码
userAccountquerystring用户账号
verifyCodequerystring验证码
verifyKeyquerystring验证码KEY

返回示例

200 Response

{
  "code": 0,
  "data": {
    "token": "string"
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 退出登录

POST /front/account/login/logout

退出登录

请求参数

名称位置类型必选说明
encryptquerystring密码是否加密
passwordquerystring用户密码
userAccountquerystring用户账号
verifyCodequerystring验证码
verifyKeyquerystring验证码KEY

返回示例

200 Response

{
  "code": 0,
  "data": {
    "token": "string"
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 隐私政策

GET /front/account/login/protocol

隐私政策

请求参数

名称位置类型必选说明
document_typequerystringdocument_type
statequeryintegerstate
protocols_keyquerystringprotocols_key

返回示例

200 Response

{
  "code": 0,
  "data": {
    "document": "string",
    "state": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 注册接口

GET /front/account/login/register

注册接口

请求参数

名称位置类型必选说明
bindTypequeryinteger注册方式=>BindConnectCode
encryptquerystring密码是否加密
passwordquerystring用户密码
userAccountquerystring用户账号
verifyCodequerystring验证码
verifyKeyquerystring验证码KEY

返回示例

200 Response

{
  "code": 0,
  "data": {
    "token": "string",
    "user_id": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 注册接口

POST /front/account/login/register

注册接口

请求参数

名称位置类型必选说明
bindTypequeryinteger注册方式=>BindConnectCode
encryptquerystring密码是否加密
passwordquerystring用户密码
userAccountquerystring用户账号
verifyCodequerystring验证码
verifyKeyquerystring验证码KEY

返回示例

200 Response

{
  "code": 0,
  "data": {
    "token": "string",
    "user_id": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 重设密码接口

GET /front/account/login/setNewPassword

重设密码接口

请求参数

名称位置类型必选说明
bindTypequeryinteger注册方式=>BindConnectCode
encryptquerystring密码是否加密
oldPasswordquerystring用户密码
passwordquerystring用户密码
verifyCodequerystring验证码
verifyKeyquerystring验证码KEY

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 重设密码接口

POST /front/account/login/setNewPassword

重设密码接口

请求参数

名称位置类型必选说明
bindTypequeryinteger注册方式=>BindConnectCode
encryptquerystring密码是否加密
oldPasswordquerystring用户密码
passwordquerystring用户密码
verifyCodequerystring验证码
verifyKeyquerystring验证码KEY

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

用户站内信

POST 添加短消息

POST /front/account/userMessage/add

添加短消息

请求参数

名称位置类型必选说明
messageCatquerystring消息类型
messageContentquerystring消息内容
messageHqueryinteger图片高度
messageLengthqueryinteger消息长度
messageTitlequerystring消息标题
messageWqueryinteger图片宽度
minequerystringjson对象
toquerystringjson对象
userNicknamequerystring相关昵称:发送者或者接收者
userOtherIdqueryinteger相关用户:发送者或者接收者

返回示例

200 Response

{
  "code": 0,
  "data": {
    "content": {
      "item_id": 0,
      "item_unit_price": 0,
      "message_content": "string",
      "message_h": 0,
      "message_length": 0,
      "message_w": 0,
      "product_image": "string",
      "product_item_name": "string"
    },
    "message_cat": "string",
    "message_content": "string",
    "message_data_id": "string",
    "message_data_type": 0,
    "message_h": 0,
    "message_id": 0,
    "message_is_delete": false,
    "message_is_read": false,
    "message_kind": 0,
    "message_length": 0,
    "message_other_id": 0,
    "message_parent_id": 0,
    "message_time": 0,
    "message_title": "string",
    "message_type": 0,
    "message_w": 0,
    "msg_row": {
      "message_cat": "string",
      "message_content": "string",
      "message_data_id": "string",
      "message_data_type": 0,
      "message_h": 0,
      "message_id": 0,
      "message_is_delete": false,
      "message_is_read": false,
      "message_kind": 0,
      "message_length": 0,
      "message_parent_id": 0,
      "message_time": 0,
      "message_title": "string",
      "message_type": 0,
      "message_w": 0,
      "user_id": 0,
      "user_nickname": "string",
      "user_other_id": 0,
      "user_other_nickname": "string"
    },
    "num": 0,
    "user_avatar": "string",
    "user_id": 0,
    "user_nickname": "string",
    "user_other_avatar": "string",
    "user_other_id": 0,
    "user_other_nickname": "string",
    "userinfo": {
      "face": "string",
      "uid": 0,
      "username": "string"
    }
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 读取短消息

GET /front/account/userMessage/get

读取短消息

请求参数

名称位置类型必选说明
message_idqueryintegermessage_id

返回示例

200 Response

{
  "code": 0,
  "data": {
    "message_cat": "string",
    "message_content": "string",
    "message_data_id": "string",
    "message_data_type": 0,
    "message_h": 0,
    "message_id": 0,
    "message_is_delete": false,
    "message_is_read": false,
    "message_kind": 0,
    "message_length": 0,
    "message_parent_id": 0,
    "message_time": 0,
    "message_title": "string",
    "message_type": 0,
    "message_w": 0,
    "user_id": 0,
    "user_nickname": "string",
    "user_other_id": 0,
    "user_other_nickname": "string"
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET IM配置

GET /front/account/userMessage/getImConfig

IM配置接口

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 客服配置

GET /front/account/userMessage/getKefuConfig

客服配置接口

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 用户通知消息数量

GET /front/account/userMessage/getMsgCount

用户通知消息数量

请求参数

名称位置类型必选说明
recently_flagqueryintegerrecently_flag

返回示例

200 Response

{
  "code": 0,
  "data": {
    "content": {
      "item_id": 0,
      "item_unit_price": 0,
      "message_content": "string",
      "message_h": 0,
      "message_length": 0,
      "message_w": 0,
      "product_image": "string",
      "product_item_name": "string"
    },
    "message_cat": "string",
    "message_content": "string",
    "message_data_id": "string",
    "message_data_type": 0,
    "message_h": 0,
    "message_id": 0,
    "message_is_delete": false,
    "message_is_read": false,
    "message_kind": 0,
    "message_length": 0,
    "message_other_id": 0,
    "message_parent_id": 0,
    "message_time": 0,
    "message_title": "string",
    "message_type": 0,
    "message_w": 0,
    "msg_row": {
      "message_cat": "string",
      "message_content": "string",
      "message_data_id": "string",
      "message_data_type": 0,
      "message_h": 0,
      "message_id": 0,
      "message_is_delete": false,
      "message_is_read": false,
      "message_kind": 0,
      "message_length": 0,
      "message_parent_id": 0,
      "message_time": 0,
      "message_title": "string",
      "message_type": 0,
      "message_w": 0,
      "user_id": 0,
      "user_nickname": "string",
      "user_other_id": 0,
      "user_other_nickname": "string"
    },
    "num": 0,
    "user_avatar": "string",
    "user_id": 0,
    "user_nickname": "string",
    "user_other_avatar": "string",
    "user_other_id": 0,
    "user_other_nickname": "string",
    "userinfo": {
      "face": "string",
      "uid": 0,
      "username": "string"
    }
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 用户通知消息

GET /front/account/userMessage/getNotice

用户消息列表接口

返回示例

200 Response

{
  "code": 0,
  "data": [
    {
      "message_cat": "string",
      "message_content": "string",
      "message_data_id": "string",
      "message_data_type": 0,
      "message_h": 0,
      "message_id": 0,
      "message_is_delete": false,
      "message_is_read": false,
      "message_kind": 0,
      "message_length": 0,
      "message_parent_id": 0,
      "message_time": 0,
      "message_title": "string",
      "message_type": 0,
      "message_w": 0,
      "user_id": 0,
      "user_nickname": "string",
      "user_other_id": 0,
      "user_other_nickname": "string"
    }
  ],
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 短消息列表数据

GET /front/account/userMessage/list

短消息列表数据

请求参数

名称位置类型必选说明
createTimeEndquerystring创建时间结束值
createTimeStartquerystring创建时间起始值
like[0].columnquerystring搜索字段
like[0].likequerystring搜索字符
messageCatquerystring消息类型(ENUM):text-文本消息;img-图片消息;video-视频消息;file:文件;location:位置;redpack:红包
messageContentquerystring消息内容
messageDataIdquerystring消息数据:商品编号
messageDataTypequeryinteger消息分类(ENUM):0-默认消息;1-公告消息;2-订单消息;3-商品消息;4-余额卡券;5-服务消息
messageHqueryinteger图片高度
messageIdqueryinteger消息编号
messageIsDeletequerystring是否删除(BOOL):0-正常状态;1-删除状态
messageIsReadquerystring是否读取(BOOL):0-未读;1-已读
messageKindqueryinteger消息种类(ENUM):1-发送消息;2-接收消息
messageLengthqueryinteger消息长度
messageParentIdqueryinteger上级编号
messageTimequeryinteger发送时间
messageTitlequerystring消息标题
messageTypequeryinteger消息类型(ENUM):1-系统消息;2-用户消息
messageWqueryinteger图片宽度
order[0].sidxquerystring排序字段
order[0].sortquerystring排序方式
pagequeryinteger分页查询页码
sidxquerystring排序字段
sizequeryinteger分页查询每页数量
sortquerystring排序方式
sourceTypequeryinteger来源
userIdqueryinteger所属用户:发送者或者接收者,如果message_kind=1则为当前用户发送的消息。
userNicknamequerystring用户昵称
userOtherIdqueryinteger相关用户:发送者或者接收者
userOtherNicknamequerystring相关昵称:发送者或者接收者

返回示例

200 Response

{
  "code": 0,
  "data": {
    "items": [
      {
        "content": {
          "item_id": 0,
          "item_unit_price": 0,
          "message_content": "string",
          "message_h": 0,
          "message_length": 0,
          "message_w": 0,
          "product_image": "string",
          "product_item_name": "string"
        },
        "message_cat": "string",
        "message_content": "string",
        "message_data_id": "string",
        "message_data_type": 0,
        "message_h": 0,
        "message_id": 0,
        "message_is_delete": false,
        "message_is_read": false,
        "message_kind": 0,
        "message_length": 0,
        "message_other_id": 0,
        "message_parent_id": 0,
        "message_time": 0,
        "message_title": "string",
        "message_type": 0,
        "message_w": 0,
        "msg_row": {
          "message_cat": "string",
          "message_content": "string",
          "message_data_id": "string",
          "message_data_type": 0,
          "message_h": 0,
          "message_id": 0,
          "message_is_delete": false,
          "message_is_read": false,
          "message_kind": 0,
          "message_length": 0,
          "message_parent_id": 0,
          "message_time": 0,
          "message_title": "string",
          "message_type": 0,
          "message_w": 0,
          "user_id": 0,
          "user_nickname": "string",
          "user_other_id": 0,
          "user_other_nickname": "string"
        },
        "num": 0,
        "user_avatar": "string",
        "user_id": 0,
        "user_nickname": "string",
        "user_other_avatar": "string",
        "user_other_id": 0,
        "user_other_nickname": "string",
        "userinfo": {
          "face": "string",
          "uid": 0,
          "username": "string"
        }
      }
    ],
    "page": 0,
    "records": 0,
    "size": 0,
    "total": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 读取分页列表

GET /front/account/userMessage/listChatMsg

读取分页列表

请求参数

名称位置类型必选说明
createTimeEndquerystring创建时间结束值
createTimeStartquerystring创建时间起始值
like[0].columnquerystring搜索字段
like[0].likequerystring搜索字符
messageCatquerystring消息类型(ENUM):text-文本消息;img-图片消息;video-视频消息;file:文件;location:位置;redpack:红包
messageContentquerystring消息内容
messageDataIdquerystring消息数据:商品编号
messageDataTypequeryinteger消息分类(ENUM):0-默认消息;1-公告消息;2-订单消息;3-商品消息;4-余额卡券;5-服务消息
messageHqueryinteger图片高度
messageIdqueryinteger消息编号
messageIsDeletequerystring是否删除(BOOL):0-正常状态;1-删除状态
messageIsReadquerystring是否读取(BOOL):0-未读;1-已读
messageKindqueryinteger消息种类(ENUM):1-发送消息;2-接收消息
messageLengthqueryinteger消息长度
messageParentIdqueryinteger上级编号
messageTimequeryinteger发送时间
messageTitlequerystring消息标题
messageTypequeryinteger消息类型(ENUM):1-系统消息;2-用户消息
messageWqueryinteger图片宽度
order[0].sidxquerystring排序字段
order[0].sortquerystring排序方式
pagequeryinteger分页查询页码
sidxquerystring排序字段
sizequeryinteger分页查询每页数量
sortquerystring排序方式
sourceTypequeryinteger来源
userIdqueryinteger所属用户:发送者或者接收者,如果message_kind=1则为当前用户发送的消息。
userNicknamequerystring用户昵称
userOtherIdqueryinteger相关用户:发送者或者接收者
userOtherNicknamequerystring相关昵称:发送者或者接收者

返回示例

200 Response

{
  "code": 0,
  "data": {
    "items": [
      {
        "msg": {
          "content": {
            "item_id": 0,
            "item_unit_price": 0,
            "message_content": "string",
            "message_h": 0,
            "message_length": 0,
            "message_w": 0,
            "product_image": "string",
            "product_item_name": "string"
          },
          "message_cat": "string",
          "message_content": "string",
          "message_data_id": "string",
          "message_data_type": 0,
          "message_h": 0,
          "message_id": 0,
          "message_is_delete": false,
          "message_is_read": false,
          "message_kind": 0,
          "message_length": 0,
          "message_other_id": 0,
          "message_parent_id": 0,
          "message_time": 0,
          "message_title": "string",
          "message_type": 0,
          "message_w": 0,
          "msg_row": {
            "message_cat": "string",
            "message_content": "string",
            "message_data_id": "string",
            "message_data_type": 0,
            "message_h": 0,
            "message_id": 0,
            "message_is_delete": false,
            "message_is_read": false,
            "message_kind": 0,
            "message_length": 0,
            "message_parent_id": 0,
            "message_time": 0,
            "message_title": "string",
            "message_type": 0,
            "message_w": 0,
            "user_id": 0,
            "user_nickname": "string",
            "user_other_id": 0,
            "user_other_nickname": "string"
          },
          "num": 0,
          "user_avatar": "string",
          "user_id": 0,
          "user_nickname": "string",
          "user_other_avatar": "string",
          "user_other_id": 0,
          "user_other_nickname": "string",
          "userinfo": {
            "face": "string",
            "uid": 0,
            "username": "string"
          }
        },
        "type": "string"
      }
    ],
    "page": 0,
    "records": 0,
    "size": 0,
    "total": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 设置为已读

POST /front/account/userMessage/setRead

设置为已读

请求参数

名称位置类型必选说明
message_idqueryintegermessage_id
user_other_idqueryintegeruser_other_id

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

用户基本信息表

GET 绑定手机号

GET /front/account/user/bindMobile

绑定手机号

请求参数

名称位置类型必选说明
bindTypequeryinteger注册方式=>BindConnectCode
encryptquerystring密码是否加密
passwordquerystring用户密码
userAccountquerystring用户账号
verifyCodequerystring验证码
verifyKeyquerystring验证码KEY

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 绑定手机号

POST /front/account/user/bindMobile

绑定手机号

请求参数

名称位置类型必选说明
bindTypequeryinteger注册方式=>BindConnectCode
encryptquerystring密码是否加密
passwordquerystring用户密码
userAccountquerystring用户账号
verifyCodequerystring验证码
verifyKeyquerystring验证码KEY

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 修改用户端用户信息

POST /front/account/user/edit

修改用户端用户信息

请求参数

名称位置类型必选说明
passwordquerystring用户密码
tagIdsquerystring用户标签(DOT)
userAccountquerystring用户账号
userAvatarquerystring用户头像
userBirthdayquerystring生日(DATE)
userEmailquerystring用户邮箱(email)
userFromqueryinteger用户来源(ENUM):2310-其它;2311-pc;2312-H5;2313-APP;2314-小程序;2315-公众号
userGenderqueryinteger性别(ENUM):0-保密;1-男; 2-女;
userIdqueryinteger用户编号
userIdcardquerystring身份证
userIdcardImagesquerystring身份证图片(DOT)
userIntlquerystring国家编码
userIsAuthenticationqueryinteger认证状态(ENUM):0-未认证;1-待审核;2-认证通过;3-认证失败
userLevelIdqueryinteger用户等级
userMobilequerystring手机号码(mobile)
userNewquerystring新人标识(BOOL):0-不是;1-是
userNicknamequerystring用户昵称
userRealnamequerystring真实姓名
userStatequeryinteger状态(ENUM):0-锁定;1-已激活;2-未激活;

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 用户基本信息

GET /front/account/user/info

用户基本信息

返回示例

200 Response

{
  "code": 0,
  "data": {
    "chain_id": 0,
    "client_id": 0,
    "commission_amount": 0,
    "currency_id": 0,
    "currency_symbol_left": "string",
    "month_order": 0,
    "month_trade": 0,
    "permissions": [
      "string"
    ],
    "role_id": 0,
    "roles": [
      "string"
    ],
    "site_id": 0,
    "store_id": 0,
    "tag_group_names": "string",
    "tag_ids": "string",
    "tag_title_list": [
      "string"
    ],
    "tag_titles": "string",
    "total_order": 0,
    "total_trade": 0,
    "ud_address": "string",
    "user_account": "string",
    "user_avatar": "string",
    "user_birthday": "2019-08-24T14:15:22Z",
    "user_credit": 0,
    "user_credit_frozen": 0,
    "user_credit_total": 0,
    "user_credit_used": 0,
    "user_email": "string",
    "user_exp": 0,
    "user_gender": 0,
    "user_id": 0,
    "user_idcard": "string",
    "user_idcard_image_list": [
      "string"
    ],
    "user_idcard_images": "string",
    "user_intl": "string",
    "user_is_authentication": 0,
    "user_level_id": 0,
    "user_level_name": "string",
    "user_login_time": 0,
    "user_margin": 0,
    "user_mobile": "string",
    "user_money": 0,
    "user_money_frozen": 0,
    "user_nickname": "string",
    "user_points": 0,
    "user_points_frozen": 0,
    "user_realname": "string",
    "user_recharge_card": 0,
    "user_recharge_card_frozen": 0,
    "user_redpack": 0,
    "user_redpack_frozen": 0,
    "user_reg_time": 0,
    "user_state": 0,
    "voucher": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 读取平台用户等级

GET /front/account/user/listBaseUserLevel

读取平台用户等级

返回示例

200 Response

{
  "code": 0,
  "data": {
    "items": [
      {
        "user_level_exp": 0,
        "user_level_id": 0,
        "user_level_is_buildin": false,
        "user_level_logo": "string",
        "user_level_name": "string",
        "user_level_rate": 0,
        "user_level_spend": 0,
        "user_level_time": 0
      }
    ],
    "page": 0,
    "records": 0,
    "size": 0,
    "total": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 用户等级规则

GET /front/account/user/listsExpRule

用户等级规则

返回示例

200 Response

{
  "code": 0,
  "data": {
    "exp_consume_max": "string",
    "exp_consume_rate": "string",
    "exp_evaluate_good": "string",
    "exp_login": "string",
    "exp_reg": "string"
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 实名认证保存

POST /front/account/user/saveCertificate

实名认证保存

请求参数

名称位置类型必选说明
passwordquerystring用户密码
tagIdsquerystring用户标签(DOT)
userAccountquerystring用户账号
userAvatarquerystring用户头像
userBirthdayquerystring生日(DATE)
userEmailquerystring用户邮箱(email)
userFromqueryinteger用户来源(ENUM):2310-其它;2311-pc;2312-H5;2313-APP;2314-小程序;2315-公众号
userGenderqueryinteger性别(ENUM):0-保密;1-男; 2-女;
userIdqueryinteger用户编号
userIdcardquerystring身份证
userIdcardImagesquerystring身份证图片(DOT)
userIntlquerystring国家编码
userIsAuthenticationqueryinteger认证状态(ENUM):0-未认证;1-待审核;2-认证通过;3-认证失败
userLevelIdqueryinteger用户等级
userMobilequerystring手机号码(mobile)
userNewquerystring新人标识(BOOL):0-不是;1-是
userNicknamequerystring用户昵称
userRealnamequerystring真实姓名
userStatequeryinteger状态(ENUM):0-锁定;1-已激活;2-未激活;

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 重新绑定手机号

GET /front/account/user/unBindMobile

重新绑定手机号

请求参数

名称位置类型必选说明
bindTypequeryinteger注册方式=>BindConnectCode
encryptquerystring密码是否加密
passwordquerystring用户密码
userAccountquerystring用户账号
verifyCodequerystring验证码
verifyKeyquerystring验证码KEY

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 重新绑定手机号

POST /front/account/user/unBindMobile

重新绑定手机号

请求参数

名称位置类型必选说明
bindTypequeryinteger注册方式=>BindConnectCode
encryptquerystring密码是否加密
passwordquerystring用户密码
userAccountquerystring用户账号
verifyCodequerystring验证码
verifyKeyquerystring验证码KEY

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

微信操作控制器

GET 微信通知消息回调

GET /front/account/wechat/callbackMessage

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 公众号登录 - 公众号授权回调

GET /front/account/wechat/callbackMp

请求参数

名称位置类型必选说明
activity_idquerystringactivity_id
codequerystringcode

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 二维码登录 - 微信网页回调

GET /front/account/wechat/callbackPc

请求参数

名称位置类型必选说明
codequerystringcode

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 用户登录验证

GET /front/account/wechat/checkAppLogin

请求参数

名称位置类型必选说明
codequerystringcode

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 根据code 获取openid

GET /front/account/wechat/getOpenIdByCode

请求参数

名称位置类型必选说明
codequerystringcode

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 微信网页登录生成二维码

GET /front/account/wechat/getQrCode

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 小程序获取手机号

GET /front/account/wechat/getUserPhoneNumber

请求参数

名称位置类型必选说明
codequerystringcode

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 获取getXcxAccessToken-向外提供

GET /front/account/wechat/getXcxAccessToken

请求参数

名称位置类型必选说明
useCacheFlagquerystringuseCacheFlag

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 验证签名

GET /front/account/wechat/index

请求参数

名称位置类型必选说明
timestampquerystringtimestamp
signaturequerystringsignature
noncequerystringnonce
echostrquerystringechostr

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 用户注册

GET /front/account/wechat/jsCode2Session

请求参数

名称位置类型必选说明
codequerystringcode
encryptedDataquerystringencryptedData
ivquerystringiv
activity_idquerystringactivity_id
user_infoquerystringuser_info

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 公众号登录 - 获取code请求

GET /front/account/wechat/redirectToWxCode

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 获取微信配置请求

GET /front/account/wechat/wxConfig

请求参数

名称位置类型必选说明
hrefquerystringhref

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline