通过id获取中台的运费模板详情

GET /app/shipping/cloud/findExpressTemplate

单位是分

请求:

字段

名称

类型

是否必须

id

int

如果下级地址id数组返回的是空 代表选择了所有

返回:

{

“code”: 0,

“data”: {

“reExpressTemplates”: {

“id”: 21,

“created_at”: null,

“updated_at”: 1635990149,

“name”: “测试”,

“type”: 0,

“supplier_id”: 0,

“items”: [

{

“id”: 73,

“created_at”: 1635990149,

“updated_at”: 1635990149,

“first_amount”: 1, 首件

“first_fee”: 1000, 运费

“additional_amount”: 1, 续件

“additional_fee”: 1000, 续费

“express_template_id”: 21,

“regions”: [ //地址id 下级为空时代表选择了所有的

{

“id”: 12,

“regions”: []

},

{

“id”: 13,

“regions”: [

{

“id”: 1301,

“regions”: null

},

{

“id”: 1302,

“regions”: null

},

{

“id”: 1303,

“regions”: null

},

{

“id”: 1304,

“regions”: null

},

{

“id”: 1305,

“regions”: null

},

{

“id”: 1307,

“regions”: null

},

{

“id”: 1308,

“regions”: null

},

{

“id”: 1309,

“regions”: null

},

{

“id”: 1310,

“regions”: null

},

{

“id”: 1311,

“regions”: null

}

]

},

{

“id”: 14,

“regions”: [

{

“id”: 1401,

“regions”: null

},

{

“id”: 1402,

“regions”: null

},

{

“id”: 1403,

“regions”: null

},

{

“id”: 1406,

“regions”: null

},

{

“id”: 1407,

“regions”: null

},

{

“id”: 1408,

“regions”: null

},

{

“id”: 1409,

“regions”: null

},

{

“id”: 1410,

“regions”: null

},

{

“id”: 1411,

“regions”: null

}

]

}

],

“region_names”: [

“天津市”,

“河北省”,

“石家庄市”,

“唐山市”,

“秦皇岛市”,

“邯郸市”,

“邢台市”,

“张家口市”,

“承德市”,

“沧州市”,

“廊坊市”,

“衡水市”,

“山西省”,

“太原市”,

“大同市”,

“阳泉市”,

“朔州市”,

“晋中市”,

“运城市”,

“忻州市”,

“临汾市”,

“吕梁市”

]

}

]

}

},

“msg”: “操作成功”

}

发表评论

您的邮箱地址不会被公开。 必填项已用 * 标注

滚动至顶部