获取素材的收费状态和收费金额
{"info":{"from":"runapi","type":"api","title":"","description":"获取素材的收费状态和收费金额","method":"post","url":"http://localhost:8500/getMaterialPrice","remark":"返回码 code 说明:\n110:用户未登录\n200:正常\n400:客户端异常\n500:服务端异常","apiStatus":"0"},"request":{"params":{"mode":"json","urlencoded":[{"name":"","type":"string","value":"","require":"1","remark":""}],"formdata":[{"name":"","type":"string","value":"","require":"1","remark":""}],"json":"{\n \"materialId\": 1\n}","jsonDesc":[{"name":"materialId","type":"int","remark":"文章ID","value":"文章ID","require":"1"}]},"headers":[{"name":"userId","type":"string","value":"5","require":"1","remark":"用户ID","disable":"0"},{"name":"userSessionId","type":"string","value":"770238069a893ca8b40157142c3483eb","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 \"chargeStatus\": 0,\n \"price\": 0\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseOriginal":{"data":{"chargeStatus":0,"price":0},"head":{"code":200,"msg":"成功"}},"responseExample":"{\n \"data\": {\n \"chargeStatus\": 0,\n \"price\": 0\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseHeader":{"access-control-allow-origin":"*","content-length":"74","content-type":"application/json;charset=UTF-8","date":"Thu, 25 Aug 2022 01:01:17 GMT","vary":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},"responseStatus":200,"responseParamsDesc":[{"name":"data","type":"object","remark":"数据"},{"name":"chargeStatus","type":"string","remark":"收费状态 0-免费 1-收费"},{"name":"price","type":"string","remark":"价格(单位:元)"},{"name":"head","type":"object","remark":"消息头"},{"name":"code","type":"string","remark":"返回码"},{"name":"msg","type":"string","remark":"消息文本"}],"remark":"返回码 code 说明:\n110:用户未登录\n200:正常\n400:客户端异常\n500:服务端异常","responseFailExample":"","responseFailParamsDesc":[{"name":"","type":"string","remark":""}],"responseTime":1672,"responseSize":0},"scripts":{"pre":"","post":""},"extend":{}}