素材库小程序接口2

素材库小程序接口2


获取用户的地区信息

{"info":{"from":"runapi","type":"api","title":"","description":"获取用户的地区信息","method":"post","url":"http://localhost:8500/getUserRegion","remark":"","apiStatus":"0"},"request":{"params":{"mode":"json","urlencoded":[{"name":"","type":"string","value":"","require":"1","remark":""}],"formdata":[],"json":"","jsonDesc":[]},"headers":[{"name":"userId","type":"string","value":"6413","require":"1","remark":"用户 ID","disable":"0"},{"name":"userSessionId","type":"string","value":"a77b01c0292b9884933903ad130cb596","require":"1","remark":"用户会话 ID","disable":"0"},{"name":"miniCode","type":"string","value":"prodkdsck","require":"1","remark":"小程序标识","disable":"0"}],"cookies":[{"name":"","value":""}],"auth":[],"query":[],"pathVariable":[]},"response":{"responseText":"{\n \"data\": {\n \"userRegionInfo\": {\n \"city\": \"广州\",\n \"createTime\": \"2022-11-23 14:54:45\",\n \"modifyTime\": \"2022-11-26 14:17:34\",\n \"province\": \"广东\",\n \"userId\": 6413\n }\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseOriginal":{"data":{"userRegionInfo":{"city":"广州","createTime":"2022-11-23 14:54:45","modifyTime":"2022-11-26 14:17:34","province":"广东","userId":6413}},"head":{"code":200,"msg":"成功"}},"responseExample":"{\n \"data\": {\n \"userRegionInfo\": {\n \"city\": \"广州\",\n \"createTime\": \"2022-11-23 14:54:45\",\n \"modifyTime\": \"2022-11-26 14:17:34\",\n \"province\": \"广东\",\n \"userId\": 6413\n }\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseHeader":{"content-length":"184","content-type":"application/json;charset=UTF-8","cookie-from-server":"","date":"Sat, 26 Nov 2022 06:29:40 GMT"},"responseStatus":200,"responseTime":5778,"responseParamsDesc":[{"name":"data","type":"object","remark":"数据"},{"name":"userRegionInfo","type":"object","remark":"用户地区信息"},{"name":"userRegionInfo.city","type":"string","remark":"市"},{"name":"userRegionInfo.createTime","type":"string","remark":"创建时间"},{"name":"userRegionInfo.modifyTime","type":"string","remark":"修改时间"},{"name":"userRegionInfo.province","type":"string","remark":"省"},{"name":"userRegionInfo.userId","type":"string","remark":"用户 ID"},{"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