企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
#### 登录 ~~~[api] post:/member/login *string:mobile#手机号码 *string:mobile_code#手机验证码 <<< success { "message": "success", "code": 1, "data": { "id": 1, "referrer_id": null, "username": "用户5MlhC2ID0z", "mobile": "15215171445", "avatar": "/img/no-image.png", "nickname": "测试用户1", "sex": 0, "status": 10, "created_at": 1522637505, "updated_at": 1522637505, "flow": "0.00", "point": "100.00", "wallet": "0.00", "agent": null } } <<< success { "message": "success", "code": 1, "data": { "id": 6, "referrer_id": null, "username": "用户FmMVOOZqtd", "mobile": "18666864521", "avatar": "/static/img/head_pic.png", "nickname": "18666864521用户", "sex": 0, "status": 10, "created_at": 1524541571, "updated_at": 1524541571, "flow": "0.00", "point": "8000.00", "wallet": "0.00", "agent": { "id": 10, "member_id": 6, "id_card_name": "谢煜程", "id_card_number": "123456789012345678", "level": 1, "flow": 0, "is_audit": 1, "status": 10, "created_at": 1525749064, "updated_at": 1525749064 } } } <<< error { "message": "错误的手机号或密码。", "code": 0, "data": [] } <<< error { "message": "已登录", "code": 0, "data": [] } ~~~ #### 注册 > 已弃用 ~~~[api] post:/member/register *string:mobile#手机号码 *string:password#密码 *string:nickname#昵称 string:avatar=/img/no-image.png#头像 number:sex=0#性别,0=>女,1=>男 number:status=10#状态,10=>正常,9=>禁用 <<< success { "message": "success", "code": 1, "data": { "id": 9, "referrer_id": null, "username": "用户jVsFnqkL86", "mobile": "15215171445", "avatar": "/img/no-image.png", "nickname": "15015171397用户", "realname": "15015171397用户", "sex": 0, "status": 10, "created_at": 1522143587, "updated_at": 1522143587, "flow": "0.00", "point": "0.00", "wallet": "0.00" } } <<< error { "message": "已登录", "code": 0, "data": [] } <<< error { "message": "手机号码已被注册。", "code": 0, "data": [] } ~~~ #### 个人信息 ~~~[api] post:/member/personal <<< success { "message": "success", "code": 1, "data": { "id": 1, "referrer_id": null, "username": "用户5MlhC2ID0z", "mobile": "15215171445", "avatar": "/img/no-image.png", "nickname": "测试用户", "sex": 0, "status": 10, "created_at": 1522637505, "updated_at": 1522637505, "flow": "0.00", "point": "100.00", "wallet": "0.00" } } <<< success { "message": "success", "code": 1, "data": { "id": 6, "referrer_id": null, "username": "用户FmMVOOZqtd", "mobile": "18666864521", "avatar": "/static/img/head_pic.png", "nickname": "18666864521用户", "sex": 0, "status": 10, "created_at": 1524541571, "updated_at": 1524541571, "flow": "0.00", "point": "8000.00", "wallet": "0.00", "agent": { "id": 10, "member_id": 6, "id_card_name": "谢煜程", "id_card_number": "123456789012345678", "level": 1, "flow": 0, "is_audit": 1, "status": 10, "created_at": 1525749064, "updated_at": 1525749064 } } } ~~~ #### 登出 ~~~[api] post:/member/logout <<< success { "message": "success", "code": 1, "data": [] } ~~~ #### 超级登录 ~~~[api] post:/member/super-login *string:ak#秘钥 *string:mobile#手机号 <<< success { "message": "success", "code": 1, "data": { "id": 6, "referrer_id": null, "username": "用户FmMVOOZqtd", "mobile": "18666864521", "avatar": "/static/img/head_pic.png", "nickname": "18666864521用户", "sex": 0, "status": 10, "created_at": 1524541571, "updated_at": 1524541571, "flow": "0.00", "point": "8100.00", "wallet": "0.00", "agent": null } } <<< success { "message": "success", "code": 1, "data": { "id": 6, "referrer_id": null, "username": "用户FmMVOOZqtd", "mobile": "18666864521", "avatar": "/static/img/head_pic.png", "nickname": "18666864521用户", "sex": 0, "status": 10, "created_at": 1524541571, "updated_at": 1524541571, "flow": "0.00", "point": "8000.00", "wallet": "0.00", "agent": { "id": 10, "member_id": 6, "id_card_name": "谢煜程", "id_card_number": "123456789012345678", "level": 1, "flow": 0, "is_audit": 1, "status": 10, "created_at": 1525749064, "updated_at": 1525749064 } } } <<< error { "message": "已登录", "code": 0, "data": [] } ~~~