企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
1.用户认证(一次性) ~~~[api] put:https://admin.nineopen.com/home/user_audit unionid#unionid phone#手机号 card_top#身份证正面路径 card_over#身份证发面路径 <<< success { "status": 0, "message": "success", "data": [] } <<< error ~~~ 1-1-1.用户身份证修改 注释:只有当用户认证审核失败后才能修改身份证 ~~~[api] put:https://admin.nineopen.com/home/user_audit_update unionid#unionid card_top#身份证正面路径 card_over#身份证发面路径 <<< success { "status": 0, "message": "success", "data": [] } <<< error ~~~ 1-1.营业执照创建 ~~~[api] post:https://admin.nineopen.com/home/permit_create unionid# permit#营业执照 shop_head#店铺门头 promoter#推荐人(选填) <<< success <<< error ~~~ 1-2营业执照修改 ~~~[api] put:https://admin.nineopen.com/home/permit_update unionid# permit#营业执照 shop_head#店铺门头 <<< success <<< error ~~~ 2.普通用户申请成为团长,掌柜,镖师 成功后要更改用户表role字段 ~~~[api] post:https://admin.nineopen.com/home/apply type#1=>掌柜,2=>团长,3一级镖师,4二级镖师 unionid#unionid sign#别名(昵称) head_url#用户头像 address#地址 area_id#城市id latitude#纬度7位 longitude#精度7位 <<< success { "status": 0, "message": "success", "data": [] } <<< error error ~~~ 3.用户各种身份信息查询 ~~~[api] get:https://admin.nineopen.com/home/user_type_find type#0=>普通用户,1=>掌柜,2=>团长,3一级镖师,4二级镖师 unionid#unionid <<< success { "status": 0, "message": "success", "data": [ "shop_id": 1, "unionid": "oGwVH0i3nqqxUxkjGHsJ8wI3Q8sA", "level": 1, "sign": "wwwwwwwwwwwwwwwwwwwwwwwwww", "area_id": 2, "address": "1", "latitude": 123.4213028, "longitude": 456.4559937, "create_time": "2019-03-14 15:24:49" ] } <<< error ~~~ 4.用户各种身份信息修改 ~~~ array取值范围: ['nickname','headimgurl','area_id','home_phone','home_name','head_url','sign','latitude','longitude','address'] ~~~ ~~~[api] put:https://admin.nineopen.com/home/user_type_update type#0=>普通用户,1=>掌柜,2=>团长,3一级镖师,4二级镖师 unionid#unionid array#数组形式,要修改的字段 <<< success { "status": 0, "message": "success", "data": [] } <<< error error ~~~ 4-2第一次完善资料编辑信息 ~~~ array取值范围: ['nickname','headimgurl','area_id','home_phone','home_name','head_url','sign','latitude','longitude','address'] ~~~ ~~~[api] put:https://admin.nineopen.com/home/user_type_update_first type#0=>普通用户,1=>掌柜,2=>团长,3一级镖师,4二级镖师 unionid#unionid array#数组形式,要修改的字段 <<< success { "status": 0, "message": "success", "data": [] } <<< error error ~~~ 5.修改地址 ~~~[api] put:https://admin.nineopen.com/home/home_address_update unionid#unionid latitude#纬度7位 longitude#精度7位 home_address#地址 area_id#城市id <<< success <<< error ~~~ 6.判断角色信息是否可以修改 ~~~[api] put:https://admin.nineopen.com/home/role_update_sure type#:1=>掌柜,2=>团长,3一级镖师,4二级镖师 value#:与type对应的身份id <<< success <<< error ~~~ 7.如果角色确认修改信息则将商品全部改为禁售状态 ~~~[api] put:https://admin.nineopen.com/home/role_goods_ban shop_id# <<< success <<< error ~~~