小幸文案素材库API

小幸文案素材库API


查询用户模板消息的权限

{"info":{"from":"runapi","type":"api","title":"","description":"查询用户模板消息的权限","method":"post","url":"http://localhost:8500/user/permission/search","remark":"返回码 code 说明:\n110:用户未登录\n200:正常\n400:客户端异常\n500:服务端异常"},"request":{"params":{"mode":"json","urlencoded":[],"formdata":[{"name":"","type":"string","value":"","require":"1","remark":""}],"json":"{\n \"templateType\": \"1\"\n}","jsonDesc":[{"name":"templateType","type":"string","value":"","require":"1","remark":"模板类型(1-邀请加入团队 2-自主加入团队 3-资讯早报通知)"}]},"headers":[{"name":"userId","type":"string","value":"5","require":"1","remark":"用户ID","disable":"0"},{"name":"miniCode","type":"string","value":"xiaoxin","require":"1","remark":"小程序标识","disable":"0"}],"cookies":[{"name":"","value":""}],"auth":[]},"response":{"responseText":"{\n \"data\": {\n \"hasPermission\": false\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseOriginal":{"data":{"hasPermission":false},"head":{"code":200,"msg":"成功"}},"responseExample":"{\n \"data\": {\n \"hasPermission\": false\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseHeader":{"access-control-allow-origin":"*","content-length":"67","content-type":"application/json;charset=utf-8","date":"Wed, 08 Dec 2021 02:12:56 GMT","vary":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},"responseStatus":200,"responseParamsDesc":[{"name":"data","type":"object","remark":"数据"},{"name":"hasPermission","type":"boolean","remark":"用户权限:true-有 false-无"},{"name":"head","type":"object","remark":"消息头"},{"name":"code","type":"string","remark":"返回码"},{"name":"msg","type":"string","remark":"消息文本"}],"remark":"返回码 code 说明:\n110:用户未登录\n200:正常\n400:客户端异常\n500:服务端异常"},"scripts":{"pre":"","post":""},"extend":{}}

页面列表

ITEM_HTML