获取打印模板列表
获取打印模板列表
1.请求参数:
请求URL:
POST https://kf.fw199.com/gateway/jd/printing/gettemplatelist
公共参数
参数名称 | 参数类型 | 是否必须 | 示例值 | 参数描述 |
---|---|---|---|---|
appid | String | 是 | 合作伙伴AppId | |
timestamp | String | 是 | 1657525936 | 当前Unix时间戳,秒 |
seller_nick | String | 是 | 38173182 | 京东的账号,对应蜂巢授权返回jdseller字段 |
sign | String | 是 |
业务参数
名称 | 类型 | 必须 | 示例值 | 描述 |
---|---|---|---|---|
param1 | com.jd.jcloud.wms.printing.dto.GetTemplateListReqDTO | 是 | 参数描述 | |
- templateId | String | 否 | 1234 | 单个模板ID,根据单个模板ID查找模板 |
- templateType | String | 否 | 1 | 模板类型:1,标准模板(各物流公司合作服务商标准运单模板);2自定义模板(用于商家自己定义的模板不限于运单,可以是其他单据类型模板);3、ISV自定义模板(ISV合作伙伴自定义模板,与合作伙伴签订软件服务协议的商家以及ISV合作伙伴都可以使用的模板,不限于运单);4、商家自定义区(运单模板或者其他模板中自定义项内容模板,用于商家自己使用) |
- wayTempleteType | String | 否 | 1 | 面单类型:1 快递标准面单 ,2 快递三联面单, 3 快递便携式三联单, 4 快运标准面单, 5 快运三联面单, 6 快递一联单 |
- cpCode | String | 否 | JD | 物流公司编码。京东快递:JD |
- isvResourceType | String | 否 | TEMPLATE | isv资源类型,分为:TEMPLATE(表示模板),PRINT_ITEM(打印项),CUSTOM_AREA(预设自定义区),根据ISV合作伙伴预设的自定义区项类型获取自定义打印项 |
2. 请求示例代码(Java)
请求示例代码
@Test
public void getTemplateList() throws Exception {
String tb_seller_nick = Config.JDSellerNick ;
//业务参数
Map<String, String> data = new HashMap<String, String>();
data.put("appid", Config.AppId);
data.put("seller_nick", tb_seller_nick);
Long timestamp = System.currentTimeMillis() / 1000;
data.put("timestamp", timestamp.toString());
// 不传入param1参数,表示获取全部,否则可以根据入参条件进行查询。
// data.put("param1", "{\"cpCode\":\"JD\"}");
// 参数签名
data.put("sign", Utils.Sign(data, Config.AppSecret));
doHttpRequest(Config.JDgetTemplateList, data);
}
3. 返回结果如下:
{
"code": 0,
"message": "ok",
"data": {
"code": "1",
"datas": {
"diyDatas": [],
"sDatas": [
{
"cpCode": "JD",
"standardTemplates": [
{
"standardTemplateId": 100001,
"standardTemplateName": "京东-一联单_无自定义区(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=100001",
"standardWaybillType": "6"
},
{
"standardTemplateId": 100002,
"standardTemplateName": "京东-商家端标准模板_无自定义区(100x113)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=100002",
"standardWaybillType": "1"
},
{
"standardTemplateId": 100101,
"standardTemplateName": "京东-一联面单(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=100101",
"standardWaybillType": "6"
},
{
"standardTemplateId": 100102,
"standardTemplateName": "京东-商家端标准模板(100x113)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=100102",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "ZTO",
"standardTemplates": [
{
"standardTemplateId": 10000101,
"standardTemplateName": "中通-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000101",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001101,
"standardTemplateName": "中通-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001101",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000101,
"standardTemplateName": "中通-无界(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000101",
"standardWaybillType": "1"
},
{
"standardTemplateId": 20000126,
"standardTemplateName": "中通-无界(76x130周边带单号)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000126",
"standardWaybillType": "1"
},
{
"standardTemplateId": 20000201,
"standardTemplateName": "中通-无界(100x180双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000201",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "YUNDA",
"standardTemplates": [
{
"standardTemplateId": 10000102,
"standardTemplateName": "韵达-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000102",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001102,
"standardTemplateName": "韵达-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001102",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000102,
"standardTemplateName": "韵达-无界(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000102",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "UC",
"standardTemplates": [
{
"standardTemplateId": 10000103,
"standardTemplateName": "优速-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000103",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001103,
"standardTemplateName": "优速-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001103",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000103,
"standardTemplateName": "优速-无界(100即将废弃)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000103",
"standardWaybillType": "1"
},
{
"standardTemplateId": 30000003,
"standardTemplateName": "优速-标准模板(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=30000003",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "SE",
"standardTemplates": [
{
"standardTemplateId": 10000106,
"standardTemplateName": "速尔-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000106",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001106,
"standardTemplateName": "速尔-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001106",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000106,
"standardTemplateName": "速尔-无界(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000106",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "EMS",
"standardTemplates": [
{
"standardTemplateId": 10000107,
"standardTemplateName": "邮政EMS经济-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000107",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001107,
"standardTemplateName": "邮政EMS经济-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001107",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000107,
"standardTemplateName": "邮政EMS经济-无界(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000107",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "EMSBZ",
"standardTemplates": [
{
"standardTemplateId": 10000108,
"standardTemplateName": "邮政EMS标准-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000108",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001108,
"standardTemplateName": "邮政EMS标准-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001108",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001121,
"standardTemplateName": "邮政EMS标准(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001121",
"standardWaybillType": "1"
},
{
"standardTemplateId": 20000108,
"standardTemplateName": "邮政EMS标准-无界(100即将废弃)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000108",
"standardWaybillType": "1"
},
{
"standardTemplateId": 20000125,
"standardTemplateName": "邮政EMS标准(单_100*150)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000125",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "ZJS",
"standardTemplates": [
{
"standardTemplateId": 10000109,
"standardTemplateName": "宅急送-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000109",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001109,
"standardTemplateName": "宅急送-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001109",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000109,
"standardTemplateName": "宅急送-无界(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000109",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "ZGYZZHDD",
"standardTemplates": [
{
"standardTemplateId": 10000110,
"standardTemplateName": "中国邮政小包-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000110",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001110,
"standardTemplateName": "中国邮政小包-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001110",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000110,
"standardTemplateName": "中国邮政小包-无界(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000110",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "KYE",
"standardTemplates": [
{
"standardTemplateId": 10000111,
"standardTemplateName": "跨越速运-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000111",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001111,
"standardTemplateName": "跨越速运-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001111",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000111,
"standardTemplateName": "跨越速运-无界(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000111",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "SF",
"standardTemplates": [
{
"standardTemplateId": 10000112,
"standardTemplateName": "顺丰-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000112",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001112,
"standardTemplateName": "顺丰-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001112",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000112,
"standardTemplateName": "顺丰-无界(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000112",
"standardWaybillType": "1"
},
{
"standardTemplateId": 20000121,
"standardTemplateName": "顺丰—无界(新_76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000121",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000122,
"standardTemplateName": "顺丰—无界(新_100x150)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000122",
"standardWaybillType": "1"
},
{
"standardTemplateId": 20000123,
"standardTemplateName": "顺丰—无界(新_100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000123",
"standardWaybillType": "1"
},
{
"standardTemplateId": 20000124,
"standardTemplateName": "顺丰—无界(新_100*210)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000124",
"standardWaybillType": "1"
},
{
"standardTemplateId": 20000130,
"standardTemplateName": "无界-顺丰-含自定义(76×130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000130",
"standardWaybillType": "6"
}
]
},
{
"cpCode": "ANXB",
"standardTemplates": [
{
"standardTemplateId": 10000113,
"standardTemplateName": "安能快递-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000113",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001113,
"standardTemplateName": "安能快递-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001113",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000113,
"standardTemplateName": "安能-无界(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000113",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "YTO",
"standardTemplates": [
{
"standardTemplateId": 10000114,
"standardTemplateName": "圆通快递-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000114",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001114,
"standardTemplateName": "圆通快递-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001114",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000114,
"standardTemplateName": "圆通-无界(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000114",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "DBKD",
"standardTemplates": [
{
"standardTemplateId": 10000115,
"standardTemplateName": "德邦快递-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000115",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001115,
"standardTemplateName": "德邦快递-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001115",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000115,
"standardTemplateName": "德邦-无界(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000115",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "JDKY",
"standardTemplates": [
{
"standardTemplateId": 100401,
"standardTemplateName": "京东-快运(98x112)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=100401",
"standardWaybillType": "4"
},
{
"standardTemplateId": 100402,
"standardTemplateName": "京东-快运-含自定义(98×112)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=100402",
"standardWaybillType": "4"
}
]
},
{
"cpCode": "JDDJ",
"standardTemplates": [
{
"standardTemplateId": 100302,
"standardTemplateName": "京东-大件(98x112配合自定义区打印)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=100302",
"standardWaybillType": "7"
}
]
},
{
"cpCode": "ZYKD",
"standardTemplates": [
{
"standardTemplateId": 30000001,
"standardTemplateName": "众邮(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=30000001",
"standardWaybillType": "6"
}
]
},
{
"cpCode": "YDKY",
"standardTemplates": [
{
"standardTemplateId": 10000116,
"standardTemplateName": "韵达快运-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000116",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001116,
"standardTemplateName": "韵达快运-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001116",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000116,
"standardTemplateName": "韵达快运-无界(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000116",
"standardWaybillType": "1"
},
{
"standardTemplateId": 20000129,
"standardTemplateName": "韵达快运-无界(100x180双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000129",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "SXJD",
"standardTemplates": [
{
"standardTemplateId": 10000117,
"standardTemplateName": "顺心捷达-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000117",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001117,
"standardTemplateName": "顺心捷达-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001117",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000117,
"standardTemplateName": "顺心捷达-无界(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000117",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "ZTO56",
"standardTemplates": [
{
"standardTemplateId": 10000118,
"standardTemplateName": "中通快运-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000118",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001118,
"standardTemplateName": "中通快运-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001118",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000118,
"standardTemplateName": "中通快运-无界(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000118",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "AF",
"standardTemplates": [
{
"standardTemplateId": 10000119,
"standardTemplateName": "亚风快运-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000119",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001119,
"standardTemplateName": "亚风快运-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001119",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000119,
"standardTemplateName": "亚风快运-无界(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000119",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "JDWLC2C",
"standardTemplates": [
{
"standardTemplateId": 10000120,
"standardTemplateName": "京东物流个人快递-无界(76x130)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10000120",
"standardWaybillType": "6"
},
{
"standardTemplateId": 10001120,
"standardTemplateName": "京东物流个人快递-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=10001120",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000120,
"standardTemplateName": "京东物流个人快递-无界(100x180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000120",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "FENGWANG",
"standardTemplates": [
{
"standardTemplateId": 20000127,
"standardTemplateName": "丰网-无界(76x130双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000127",
"standardWaybillType": "6"
},
{
"standardTemplateId": 20000128,
"standardTemplateName": "丰网-无界(100x150双条码)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000128",
"standardWaybillType": "1"
}
]
},
{
"cpCode": "ANE",
"standardTemplates": [
{
"standardTemplateId": 20000131,
"standardTemplateName": "无界-安能-含自定义(100×180)",
"standardTemplateUrl": "https://template-content.jd.com/template-content?type=standards\u0026id=20000131",
"standardWaybillType": "4"
}
]
}
],
"uDatas": [],
"udiyDatas": []
},
"message": "获取成功"
}
}
说明: code为0表示成功,非0为失败,message会包含失败原因。
4. 返回字段说明
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
returnType | com.jd.jcloud.wms.printing.dto.GetTemplateListRespDTO | 参数描述 | |
- message | String | 操作成功 | 参数描述 |
- code | String | 1 | 参数描述 |
datas | com.jd.jcloud.wms.printing.dto.TemplateDTO | 所有物流公司的自定义模板和用户标准模板列表 | |
sDatas | java.util.List | 所有物流公司标准模板列表 | |
— | com.jd.jcloud.wms.printing.dto.StandardTemplate | ||
- cpCode | String | JD | 物流公司编码 |
standardTemplates | java.util.List | 该物流公司下标准模版列表 | |
— | com.jd.jcloud.wms.printing.dto.StandardTemplateDTO | ||
- standardTemplateId | Number | 1 | 标准模板id |
- standardTemplateName | String | name | 标准模板名称 |
- standardTemplateUrl | String | url | 标准模板url |
- standardWaybillType | String | 1 | 面单类型:1 快递标准面单 ,2 快递三联面单, 3 快递便携式三联单, 4 快运标准面单, 5 快运三联面单, 6 快递一联单 |
uDatas | java.util.List | 用户使用的模板 | |
— | com.jd.jcloud.wms.printing.dto.UserTemplate | ||
- cpCode | String | JD | 物流公司编码 |
userStdTemplates | java.util.List | 该物流公司下用户使用的模板数据列表 | |
— | com.jd.jcloud.wms.printing.dto.UserTemplateDTO | ||
keys | java.util.List | keyList | |
- — | String | str | |
- userStdTemplateUrl | String | url | 用户使用模板的url |
- userStdTemplateId | Number | 1 | 用户使用模板的id |
- userStdTemplateName | String | name | 用户使用模板名称 |
diyDatas | java.util.List | ISV自定义模板以及自定义项内容 | |
— | com.jd.jcloud.wms.printing.dto.IsvResourceDo | ||
- resourceContent | String | str | 资源内容(当资源类型为TEMPLATE时,为空) |
- resourceId | Number | 1 | 资源id |
- resourceName | String | name | 资源名称 |
- resourceType | String | CUSTOM_AREA | 资源类型 TEMPLATE(表示模板),PRINT_ITEM(打印项),CUSTOM_AREA(预设自定义区) |
- resourceUrl | String | url | 资源url(当资源类型为打印项时,为空) |
udiyDatas | java.util.List | 商家自定义区内容 | |
— | com.jd.jcloud.wms.printing.dto.CustomAreaDo | ||
- customAreaId | Number | 1 | 自定义区id |
- customAreaUrl | String | url | 自定义区url |
keys | java.util.List | keysList | |
- — | String | str | |
- customAreaName | String | str | 自定义区名称 |
- cpCode | String | str | cp编码(物流公司编码) |
- standardTemplateUrl | String | str | 用户使用模板的url |
- standardTemplateId | String | str | 用户使用模板的id |
- standardTemplateName | String | str | 用户使用模板名称 |
customAreaKeys | java.util.List | 参数描述 | |
— | com.jd.jcloud.wms.printing.dto.CustomAreaKeyResult | ||
- key | String | str | 资源名 |
- type | String | str | 资源类型( text 文本元素 line 线条元素 rect 长方形、正方形元素 barcode 条码标记元素 image 图片标记元素 qrcode 二维码标记元素 stable 表格标记元素 ellipse 椭圆标记元素 water 水印标记元素 backgroundtext 黑底白字标记元素 ) |
- name | String | str | 资源名称 |
columns | java.util.List | 表格中的元素只有资源类型是 stable 的才会有内容 | |
— | com.jd.jcloud.wms.printing.dto.ColumnDo | ||
- key | String | str | 表格中列名 |
- name | String | str | 表格中列描述 |
- type | String | str | 类型 |
文档更新时间: 2023-03-14 16:57 作者:admin