素材库小程序接口2

素材库小程序接口2


根据订单类型分页获取用户的订单列表

{"info":{"from":"runapi","type":"api","title":"","description":"根据订单类型分页获取用户的订单列表","method":"post","url":"http://localhost:8500/order/list","remark":"","apiStatus":"0"},"request":{"params":{"mode":"json","urlencoded":[{"name":"","type":"string","value":"","require":"1","remark":""}],"formdata":[],"json":"{\n \"pageNum\": 2,\n \"pageSize\": 10,\n \"orderType\": 2\n}","jsonDesc":[{"name":"pageNum","type":"string","remark":"当前页数","value":"当前页数","require":"0"},{"name":"pageSize","type":"string","remark":"每页大小","value":"每页大小","require":"0"},{"name":"orderType","type":"string","remark":"订单类型<br/>0-全部<br/>1-未支付<br/>2-已支付","value":"","require":"1"}]},"headers":[{"name":"userId","type":"string","value":"8102","require":"1","remark":"用户 ID","disable":"0"},{"name":"userSessionId","type":"string","value":"53197455c8b60742e76f569e2b130835","require":"1","remark":"会话 ID","disable":"0"},{"name":"miniCode","type":"string","value":"prodhysck","require":"1","remark":"小程序标识","disable":"0"}],"cookies":[{"name":"","value":""}],"auth":[],"query":[],"pathVariable":[]},"response":{"responseText":"{\n \"data\": {\n \"orderList\": [\n {\n \"createTime\": \"2022-11-10 22:21:35\",\n \"itemId\": 4253,\n \"orderId\": \"202211102221350317021689\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.33,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-11-10 12:24:53\",\n \"itemId\": 2639,\n \"orderId\": \"202211101224527628203309\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.94,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-11-08 19:18:32\",\n \"itemId\": 503,\n \"orderId\": \"202211081918318712223726\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.94,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-11-07 05:59:45\",\n \"itemId\": 4220,\n \"orderId\": \"202211070559448099690384\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.44,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-11-05 18:08:49\",\n \"itemId\": 4227,\n \"orderId\": \"202211051808489151090544\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.1,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-11-03 06:11:11\",\n \"itemId\": 1824,\n \"orderId\": \"202211030611101115291924\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.98,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-11-02 06:42:50\",\n \"itemId\": 1158,\n \"orderId\": \"202211020642494095354208\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.94,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-11-01 13:02:01\",\n \"itemId\": 2293,\n \"orderId\": \"202211011302009847244940\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.95,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-11-01 05:56:26\",\n \"itemId\": 1068,\n \"orderId\": \"202211010556257316263053\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.94,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-10-31 21:42:34\",\n \"itemId\": 4049,\n \"orderId\": \"202210312142340338627914\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.4,\n \"transStatus\": 1,\n \"transactionType\": 1\n }\n ]\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseOriginal":{"data":{"orderList":[{"createTime":"2022-11-10 22:21:35","itemId":4253,"orderId":"202211102221350317021689","orderImgUrl":"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png","totalAmount":0.33,"transStatus":1,"transactionType":1},{"createTime":"2022-11-10 12:24:53","itemId":2639,"orderId":"202211101224527628203309","orderImgUrl":"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png","totalAmount":0.94,"transStatus":1,"transactionType":1},{"createTime":"2022-11-08 19:18:32","itemId":503,"orderId":"202211081918318712223726","orderImgUrl":"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png","totalAmount":0.94,"transStatus":1,"transactionType":1},{"createTime":"2022-11-07 05:59:45","itemId":4220,"orderId":"202211070559448099690384","orderImgUrl":"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png","totalAmount":0.44,"transStatus":1,"transactionType":1},{"createTime":"2022-11-05 18:08:49","itemId":4227,"orderId":"202211051808489151090544","orderImgUrl":"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png","totalAmount":0.1,"transStatus":1,"transactionType":1},{"createTime":"2022-11-03 06:11:11","itemId":1824,"orderId":"202211030611101115291924","orderImgUrl":"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png","totalAmount":0.98,"transStatus":1,"transactionType":1},{"createTime":"2022-11-02 06:42:50","itemId":1158,"orderId":"202211020642494095354208","orderImgUrl":"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png","totalAmount":0.94,"transStatus":1,"transactionType":1},{"createTime":"2022-11-01 13:02:01","itemId":2293,"orderId":"202211011302009847244940","orderImgUrl":"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png","totalAmount":0.95,"transStatus":1,"transactionType":1},{"createTime":"2022-11-01 05:56:26","itemId":1068,"orderId":"202211010556257316263053","orderImgUrl":"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png","totalAmount":0.94,"transStatus":1,"transactionType":1},{"createTime":"2022-10-31 21:42:34","itemId":4049,"orderId":"202210312142340338627914","orderImgUrl":"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png","totalAmount":0.4,"transStatus":1,"transactionType":1}]},"head":{"code":200,"msg":"成功"}},"responseExample":"{\n \"data\": {\n \"orderList\": [\n {\n \"createTime\": \"2022-11-10 22:21:35\",\n \"itemId\": 4253,\n \"orderId\": \"202211102221350317021689\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.33,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-11-10 12:24:53\",\n \"itemId\": 2639,\n \"orderId\": \"202211101224527628203309\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.94,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-11-08 19:18:32\",\n \"itemId\": 503,\n \"orderId\": \"202211081918318712223726\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.94,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-11-07 05:59:45\",\n \"itemId\": 4220,\n \"orderId\": \"202211070559448099690384\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.44,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-11-05 18:08:49\",\n \"itemId\": 4227,\n \"orderId\": \"202211051808489151090544\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.1,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-11-03 06:11:11\",\n \"itemId\": 1824,\n \"orderId\": \"202211030611101115291924\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.98,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-11-02 06:42:50\",\n \"itemId\": 1158,\n \"orderId\": \"202211020642494095354208\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.94,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-11-01 13:02:01\",\n \"itemId\": 2293,\n \"orderId\": \"202211011302009847244940\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.95,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-11-01 05:56:26\",\n \"itemId\": 1068,\n \"orderId\": \"202211010556257316263053\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.94,\n \"transStatus\": 1,\n \"transactionType\": 1\n },\n {\n \"createTime\": \"2022-10-31 21:42:34\",\n \"itemId\": 4049,\n \"orderId\": \"202210312142340338627914\",\n \"orderImgUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/miniLogo/20211124/1c5993b5-f448-48c6-b0bb-00ff0513923a.png\",\n \"totalAmount\": 0.4,\n \"transStatus\": 1,\n \"transactionType\": 1\n }\n ]\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseHeader":{"content-length":"2846","content-type":"application/json;charset=UTF-8","cookie-from-server":"","date":"Fri, 02 Dec 2022 09:39:59 GMT"},"responseStatus":200,"responseTime":3186,"responseParamsDesc":[{"name":"data","type":"object","remark":"数据"},{"name":"orderList","type":"array","remark":"订单列表"},{"name":"orderList.createTime","type":"string","remark":"下单时间"},{"name":"orderList.itemId","type":"string","remark":"购买商品id<br/>当 transactionType = 1 时,表示素材 ID<br/><br/>当 transactionType = 2 时,表示会员 ID"},{"name":"orderList.orderId","type":"string","remark":"订单 ID"},{"name":"orderList.orderImgUrl","type":"string","remark":"订单图片"},{"name":"orderList.totalAmount","type":"string","remark":"订单金额"},{"name":"orderList.transStatus","type":"string","remark":"订单状态<br/>0-未支付<br/>1-已支付"},{"name":"orderList.transactionType","type":"string","remark":"交易类型<br/>1-购买素材<br/>2-购买会员"},{"name":"head","type":"object","remark":"消息头"},{"name":"code","type":"string","remark":"返回码"},{"name":"msg","type":"string","remark":"消息文本"}],"responseFailExample":"","responseFailParamsDesc":[{"name":"","type":"string","remark":""}],"remark":"","responseSize":3},"scripts":{"pre":"","post":""},"extend":{}}

页面列表

ITEM_HTML