quguofeng 1 year ago
parent
commit
840869064e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      application/api/controller/User.php

+ 4 - 0
application/api/controller/User.php

@@ -51,6 +51,10 @@ class User extends Api
      * @ApiMethod (POST)
      * @ApiParams (name="mobile", type="string", required=true, description="手机号")
      * @ApiParams (name="captcha", type="string", required=true, description="验证码")
+     * @ApiReturnParams (name=code,type="integer",description=错误码:0=失败1=成功401=未登录403=没有权限)
+     * @ApiReturnParams (name=msg,type="string",description=提示信息)
+     * @ApiReturnParams (name=data,type="array",description=要返回的数据)
+     * @ApiReturnParams (name=data.token,type="string",description=token值)
      */
     public function mobile_login()
     {