|
@@ -51,6 +51,10 @@ class User extends Api
|
|
* @ApiMethod (POST)
|
|
* @ApiMethod (POST)
|
|
* @ApiParams (name="mobile", type="string", required=true, description="手机号")
|
|
* @ApiParams (name="mobile", type="string", required=true, description="手机号")
|
|
* @ApiParams (name="captcha", 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()
|
|
public function mobile_login()
|
|
{
|
|
{
|