素材库小程序接口2

素材库小程序接口2


获取用户的微信绑定手机

{"info":{"from":"runapi","type":"api","title":"","description":"获取用户的微信绑定手机","method":"post","url":"http://localhost:8500/wechat/getUserPhoneNoInfo","remark":"","apiStatus":"0"},"request":{"params":{"mode":"json","urlencoded":[{"name":"","type":"string","value":"","require":"1","remark":""}],"formdata":[],"json":"{\n \"code\": \"705945e75592e53d509a91c52dcb4ac8c1bc1777fb7a7cbfee3966d8737921b2\"\n}","jsonDesc":[{"name":"","type":"string","value":"","require":"1","remark":""}]},"headers":[{"name":"userId","type":"string","value":"895481","require":"1","remark":"用户 ID","disable":"0"},{"name":"miniCode","type":"string","value":"xiaoxin","require":"1","remark":"小程序标识","disable":"0"}],"cookies":[{"name":"","value":""}],"auth":[],"query":[],"pathVariable":[]},"response":{"responseText":"{\n \"data\": {\n \"code\": \"705945e75592e53d509a91c52dcb4ac8c1bc1777fb7a7cbfee3966d8737921b2\"\n },\n \"head\": {\n \"code\": 500,\n \"msg\": \"授权码已过期\"\n }\n}","responseOriginal":{"data":{"code":"705945e75592e53d509a91c52dcb4ac8c1bc1777fb7a7cbfee3966d8737921b2"},"head":{"code":500,"msg":"授权码已过期"}},"responseExample":"{\n \"data\": {\n \"phoneNoInfo\": {\n \"phoneNumber\": \"15648935598\",\n \"purePhoneNumber\": \"15648935598\",\n \"countryCode\": 86,\n \"watermark\": {\n \"timestamp\": 1637744274,\n \"appid\": \"wx7d50710cf9ecddf3\"\n }\n }\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseHeader":{"content-length":"131","content-type":"application/json;charset=UTF-8","cookie-from-server":"","date":"Sat, 12 Nov 2022 03:02:08 GMT"},"responseStatus":200,"responseTime":1121,"responseParamsDesc":[{"name":"data","type":"object","remark":"数据"},{"name":"phoneNoInfo","type":"object","remark":"用户手机号信息"},{"name":"phoneNoInfo.phoneNumber","type":"string","remark":"用户绑定的手机号(国外手机号会有区号)"},{"name":"phoneNoInfo.purePhoneNumber","type":"string","remark":"没有区号的手机号"},{"name":"phoneNoInfo.countryCode","type":"string","remark":"区号"},{"name":"phoneNoInfo.watermark","type":"object","remark":"数据水印"},{"name":"phoneNoInfo.watermark.timestamp","type":"string","remark":"用户获取手机号操作的时间戳"},{"name":"phoneNoInfo.watermark.appid","type":"string","remark":"小程序appid"},{"name":"head","type":"object","remark":"消息头"},{"name":"code","type":"string","remark":"返回码"},{"name":"msg","type":"string","remark":"消息文本"}],"responseFailExample":"","responseFailParamsDesc":[{"name":"","type":"string","remark":""}],"remark":"","responseSize":0},"scripts":{"pre":"","post":""},"extend":{}}

页面列表

ITEM_HTML