简要描述:

注销用户

涉及到的数据表:

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

请求URL:

  1. http://localhost:8081/service/api/cms/loginout

请求方式:

  • POST
  • 参数

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

      表头:

      Content-Type:application/json
      

      URL参数:

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

    请求参数:

    | 参数名 | 是否必须 | 类型 | 说明 | | —- | —- | —- | —- | | | | | |

输入实例:

{
}

返回参数:

参数名 是否必须 类型 说明
msg true String 错误信息
code true String 错误代码
-0正确
-1001 注销失败

返回示例:

{
    "code": 0,
    "msg": "ok"
}