简要描述:

获取用户中心首页的正式信息

请求URL:

  1. http://localhost:8081/service/api/cms/userCenter/official/info

涉及到的数据表:

enet_cms_user_info // 用户信息(token来源)
enet_classic_scheme_library

请求方式:

  • POST
  • 参数

    • curl -POST
      http://localhost:8081/service/api/cms/userCenter/official/info?accessKey=mini_profile__app6546d23ef636e_a449006c-a570-4ec5-9082-179660a795c3&userFlag=5d55e70ee071a533b06770291f388eb0_357
      

      表头:

      Content-Type:application/json
      

      URL参数:

      | 参数名 | 类型 | 说明 | | —- | —- | —- | | accessKey | String | 用户token | | userFlag | String | 用户唯一标识 |
  • 以上参数用作用户Token校验。

用户唯一标识

请求参数:

参数名 是否必须 类型 说明
id false long 默认是54

输入实例:

{

}

返回参数:

参数名 是否必须 类型 说明
status_msg true String 错误信息
status_code true String 错误代码
-0正确
-1001记录不在数据库中或者解析错误
-1002不存在或者记录格式错误
content false String 返回 方案内容, JSON格式字符串

返回示例:

{
    "status_code": 0,
    "status_msg": "ok",
    "msg": "ok",
    "code": 0,
    "rule": "1. The clients will get gift from the distributors if they buy 5 or 5*N home Wi-Fi routers (RG-EW1200/RG-EW1200G Pro) from the distributors during the activity.\n    2. Contact Ruijie for more activity details.\nSteps:\n    1. Enter the activity from the banner of App.\n    2. Check all your clients and coupons information.\n   3. Please note that your App version should be higher than 3.2.0."
}