小幸文案素材库API

小幸文案素材库API


上传用户头像

{"info":{"from":"runapi","type":"api","title":"","description":"上传用户头像","method":"post","url":"http://localhost:8500/uploadUserAvatarImg","remark":"返回码 code 说明:\n110:用户未登录\n200:正常\n400:客户端异常\n500:服务端异常"},"request":{"params":{"mode":"formdata","urlencoded":[{"name":"","type":"string","value":"","require":"1","remark":""}],"formdata":[{"name":"file","type":"object","value":"","require":"1","remark":"file"}],"json":"","jsonDesc":[{"name":"userId","type":"string","value":"","require":"1","remark":"用户ID"},{"name":"avatarUrl","type":"string","value":"","require":"1","remark":"用户头像URL"},{"name":"nickName","type":"string","value":"","require":"1","remark":"昵称"},{"name":"telphone","type":"string","value":"","require":"1","remark":"电话"},{"name":"wxId","type":"string","value":"","require":"1","remark":"微信号"},{"name":"qrcodeUrl","type":"string","value":"","require":"1","remark":"二维码URL"}]},"headers":[{"name":"userId","type":"string","value":"1","require":"1","remark":"用户ID","disable":"0"},{"name":"userSessionId","type":"string","value":"1041f205711ed488137cc18638d55371","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 \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseOriginal":{"data":{},"head":{"code":200,"msg":"成功"}},"responseExample":"{\n \"data\": {\n \"avatarImgUrl\": \"\"\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseHeader":{"access-control-allow-origin":"*","content-length":"46","content-type":"application/json;charset=UTF-8","date":"Mon, 11 Oct 2021 06:35:16 GMT","vary":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},"responseStatus":200,"responseParamsDesc":[{"name":"data","type":"object","remark":"数据"},{"name":"avatarImgUrl","type":"string","remark":"用户头像Url"},{"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