获取面单标准模板
获取面单标准模板列表
一、请求参数
请求URL:
POST https://kf.fw199.com/gateway/wxstore/waybill/template/config
| 参数名称 | 参数类型 | 是否必须 | 示例值 | 参数描述 |
|---|---|---|---|---|
| appid | String | 是 | 合作伙伴AppId | |
| timestamp | String | 是 | 1657525936 | 当前Unix时间戳,秒 |
| seller_nick | String | 是 | 38173182 | 店铺账号,对应蜂巢授权返回seller_nick字段 |
| sign | String | 是 |
业务参数
| 参数名称 | 参数类型 | 是否必须 | 示例值 | 参数描述 |
|---|---|---|---|---|
| store_type | String | 否 | 1 | 0:微信小店,1:微信供应商 |
二、请求示例代码
Java
@Testpublic void GetExpressTemplate() throws Exception {
String sellerNick = "xxx"; //业务参 Map<String, String> data = new HashMap(); data.put("appid", Config.AppId); data.put("seller_nick", sellerNick); Long timestamp = System.currentTimeMillis(); data.put("timestamp", timestamp.toString()); data.put("store_type","1"); // 参数签名 data.put("sign", Utils.Sign(data, Config.AppSecret)); String result = doHttpRequest(apiUrl, data); System.out.println("result:"+result);}三、返回结果
返回结果如下
{ "code": 0, "message": "处理成功", "data": { "YTO": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2023-10-25/07dac4e2-e7b2-4567-aa43-73b7df537498.html", "custom_config": { "width": 656, "height": 300, "top": 900, "left": 60 } } }, "ZTO": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2023-10-25/3ecbb3aa-5bcf-404d-972a-8a08a816223c.html", "custom_config": { "width": 656, "height": 300, "left": 60, "top": 930 } } }, "YUNDA": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2023-10-30/300ec8b2-d6c7-4167-a661-93ae473b5f71.html", "custom_config": { "width": 656, "height": 320, "left": 60, "top": 904 } } }, "JTSD": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2023-10-25/3b8031ed-0d67-4267-9e99-6eec36fcdda3.html", "custom_config": { "width": 656, "height": 320, "top": 835, "left": 60 } } }, "STO": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2023-10-30/4cefd9e1-4ea4-4027-97df-b8632efe376e.html", "custom_config": { "width": 712, "height": 300, "left": 24, "top": 754 } } }, "EMS": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2023-11-28/52427f9f-5f8d-47fa-9bf5-acbd2f1c9452.html", "custom_config": { "width": 400, "height": 400, "left": 24, "top": 754 } } }, "CNSD": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2023-11-02/035d026f-a513-43e7-ade1-ef0e801bd369.html", "custom_config": { "width": 712, "height": 300, "left": 24, "top": 891 } } }, "SF": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2023-11-07/d5aac045-ff6f-4239-aff1-03599a3c50a6.html", "custom_config": { "width": 656, "height": 320, "left": 50, "top": 839 } } }, "JD": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2023-11-08/ad8e4daf-0e41-4a01-ad44-8db2c419e3f3.html", "custom_config": { "width": 712, "height": 260, "left": 50, "top": 1054 } }, "ky_single": { "type": "ky_single", "desc": "快运一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2023-11-22/5f965a5b-76a1-4ce0-a465-fdd338ea2295.html", "custom_config": { "width": 712, "height": 80, "left": 50, "top": 1200 } } }, "DBKD": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2023-12-05/2d8b49bc-26f0-4fa4-a9be-3455f3c57529.html", "custom_config": { "width": 656, "height": 340, "top": 900, "left": 60 } } }, "SXJD": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2024-04-01/f4a2274a-4a16-4a58-bc36-b411d2a8f85e.html", "custom_config": { "width": 720, "height": 340, "top": 800, "left": 20 } } }, "RJTCSD": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2024-06-26/d102a618-85ad-4381-9d02-77b9703451f4.html", "custom_config": { "width": 720, "height": 340, "top": 800, "left": 20 } } }, "JYM": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2024-05-17/77e03c3f-9df9-43f3-a414-8dd5e9125218.html", "custom_config": { "width": 720, "height": 340, "top": 800, "left": 20 } } }, "ZTOKY": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2024-05-08/a734c63c-f4f6-46db-b372-abb14a9f7590.html", "custom_config": { "width": 656, "height": 160, "top": 900, "left": 60 } } }, "BTWL": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2024-04-24/228b8256-a68d-4046-bf80-52b8f8dba18e.html", "custom_config": { "width": 740, "height": 260, "top": 1030, "left": 8 } } }, "ZJS": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2024-05-15/94c7778b-8a83-43fa-bef8-c0685dd2e816.html", "custom_config": { "width": 740, "height": 360, "top": 1030, "left": 8 } } }, "KYSY": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2024-05-15/645938cc-61ce-419d-917b-54d5904254e6.html", "custom_config": { "width": 740, "height": 300, "top": 1030, "left": 8 } } }, "YDKY": { "single": { "type": "single", "desc": "一联单标准模板", "width": 100, "height": 180, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2024-06-05/ccf3ef78-8bfb-4ccc-b130-a9812aa36876.html", "custom_config": { "width": 940, "height": 300, "top": 1500, "left": 20 } } }, "XFEX": { "single": { "type": "single", "desc": "二联单标准模板", "width": 100, "height": 180, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2024-06-17/05c69d67-7ed7-41f4-8d17-88a754a531d0.html", "custom_config": { "width": 940, "height": 300, "top": 1500, "left": 20 } } }, "YMDD": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2024-06-18/2be07058-bc93-407e-b410-afbdbe1f5653.html", "custom_config": { "width": 940, "height": 300, "top": 1500, "left": 20 } } }, "ANEKY": { "single": { "type": "single", "desc": "一联单标准模板", "width": 100, "height": 180, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2024-07-11/34c5c393-11a9-4096-91ea-40a8b99a456c.html", "custom_config": { "width": 700, "height": 300, "top": 1400, "left": 20 } } }, "ANNTO": { "single": { "type": "single", "desc": "一联单标准模板", "width": 100, "height": 180, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2024-11-12/20501078-5684-4320-93bc-629c709813a6.html", "custom_config": { "width": 700, "height": 300, "top": 1400, "left": 20 } } }, "JGSD": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2024-11-12/089ccee7-eb60-4104-b8c7-aa2ff79f8bdf.html", "custom_config": { "width": 700, "height": 250, "top": 1050, "left": 20 } } }, "ZTOGLOBAL": { "single": { "custom_config": { "height": 120, "left": 15, "top": 975, "width": 726 }, "desc": "一联单标准模板", "height": 130, "type": "single", "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2025-04-24/d8ca3193-1a6c-43c1-b8d9-a6f1fa86efea.html", "width": 76 } }, "JSD": { "single": { "type": "single", "desc": "一联单标准模板", "width": 76, "height": 130, "url": "https://mmec-shop-1258344707.cos.ap-shanghai.myqcloud.com/shop/public/2025-01-13/bf3d9d14-1ad5-4db8-84a3-713da3c0f5c7.html", "custom_config": { "width": 726, "height": 400, "top": 716, "left": 15 } } } }}返回code为0表示成功, 非0为失败,失败时message会有失败原因。