小幸文案素材库API

小幸文案素材库API


获取微信小程序的 AccessToken

{"info":{"from":"runapi","type":"api","title":"","description":"获取微信小程序的 AccessToken","method":"get","url":"http://localhost:8500/wechat/accessToken","remark":"返回码 code 说明:\n200:正常\n400:客户端异常\n500:服务端异常"},"request":{"params":{"mode":"urlencoded","urlencoded":[],"formdata":[{"name":"","type":"string","value":"","require":"1","remark":""}],"json":"","jsonDesc":[{"name":"","type":"string","value":"","require":"1","remark":""}]},"headers":[{"name":"miniCode","type":"string","value":"xiaoxin","require":"1","remark":"小程序标识"}],"cookies":[{"name":"","value":""}],"auth":[]},"response":{"responseText":"{\n \"data\": {\n \"accessToken\": \"50_VFjX2oDeTOvSACRra8sWvPG4qlNy2psP-vXVXyYOGb_5ybihJLTcEAqwOeP5hLLhZHD2z67EccPqUjjwuQD8UGFPVWyLJTb2UA-4zqgEC4XhNNw0_MJyI88Inrcpt4Y6TmO6ao_kyWpp8wcITCOjAIAYHT\"\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseOriginal":{"data":{"accessToken":"50_VFjX2oDeTOvSACRra8sWvPG4qlNy2psP-vXVXyYOGb_5ybihJLTcEAqwOeP5hLLhZHD2z67EccPqUjjwuQD8UGFPVWyLJTb2UA-4zqgEC4XhNNw0_MJyI88Inrcpt4Y6TmO6ao_kyWpp8wcITCOjAIAYHT"},"head":{"code":200,"msg":"成功"}},"responseExample":"{\n \"data\": {\n \"accessToken\": \"50_VFjX2oDeTOvSACRra8sWvPG4qlNy2psP-vXVXyYOGb_5ybihJLTcEAqwOeP5hLLhZHD2z67EccPqUjjwuQD8UGFPVWyLJTb2UA-4zqgEC4XhNNw0_MJyI88Inrcpt4Y6TmO6ao_kyWpp8wcITCOjAIAYHT\"\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseHeader":{"content-length":"219","content-type":"application/json;charset=utf-8","date":"Tue, 09 Nov 2021 04:01:23 GMT"},"responseStatus":200,"responseParamsDesc":[{"name":"data","type":"object","remark":"数据"},{"name":"accessToken","type":"string","remark":"accessToken"},{"name":"head","type":"object","remark":"消息头"},{"name":"code","type":"string","remark":"返回码"},{"name":"msg","type":"string","remark":"消息文本"}],"remark":"返回码 code 说明:\n200:正常\n400:客户端异常\n500:服务端异常"},"scripts":{"pre":"","post":""},"extend":{}}

页面列表

ITEM_HTML