ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## 当前用户绑定手机号 /** * 当前用户绑定手机号 * http_method post * @param string $phone 手机号 * @param string $password 密码 * @param string $smscode 短信验证码(用注册的验证码接口) * @author 韩文博 * 为了前端方便,-1时请提示错误信息 */ +++ post:/User/openUserBindPhone <<< success { "errcode": 0, "errmsg": "操作成功", "data": { "id": 102, "username": "13502176003", "password": "MDAwMDAwMDAwMLK6e6yxprqX", "phone": "13502176003", "nickname": "韩文博", "avatar": "http://mojimall.img-cn-beijing.aliyuncs.com/mojimall/20170214/37951.jpg", "access_token": "a12418fde0a744daf79bb6b2c4ec927c", "role": 0, "status": 1, "register_time": 1470982102, "last_login_time": 1490087512, "last_login_ip": "0.0.0.0", "email": null, "login_times": 291, "sex": 1, "qq": "", "user_type": 4, "invitation_code": "8be8e114", "alipay_account": "hanwen", "alipay_name": "韩文博", "province_id": null, "city_id": null, "area_id": null, "area_info": null, "address": null, "credit": null, "points": 26, "sinainfo": null, "sinaopenid": null, "qqinfo": null, "qq_openid": null, "available_predeposit": "0.00", "freeze_predeposit": "0.00", "last_request_time": null, "last_choose_city": null, "last_longitude": null, "last_latitude": null, "is_online": 0, "invitation_user_id": null, "city": null, "agent_pid": 0, "frozen_points": 0, "wechat_openid": "", "is_recommend": 1, "referee_code": "Ds7E4rBp", "referee": null, "only": null, "wechat_unionid": "", "qq_unionid": null, "message_count": 8, "message_read_count": 8 } } <<< error 这里填写错误的返回码 以此类推,每个状态使用 <<< 分割, 第一行添加状态名称 +++