...
|
...
|
@@ -10,7 +10,7 @@ exports.res = [{ |
|
|
route: '/goods/cod/brand/index',
|
|
|
method: 'GET',
|
|
|
view: 'pages/goods/cod-brand',
|
|
|
src: '/goods/cod-brand',
|
|
|
src: '/goods/cod-brand'
|
|
|
}, {
|
|
|
route: '/payDelivery/queryTotalBrandPayDelivery',
|
|
|
method: 'POST',
|
...
|
...
|
@@ -21,8 +21,8 @@ exports.res = [{ |
|
|
{name: 'isPayDelivery', type: 'Number'},
|
|
|
{name: 'checkStatus', type: 'Number'},
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'},
|
|
|
],
|
|
|
{name: 'size', type: 'Number'}
|
|
|
]
|
|
|
}, {
|
|
|
// 开启 & 关闭 货到付款
|
|
|
route: '/payDelivery/addPayDeliveryCheck',
|
...
|
...
|
@@ -31,8 +31,8 @@ exports.res = [{ |
|
|
params: [
|
|
|
{name: 'isPayDelivery', type: 'Number'},
|
|
|
{name: 'brandName', type: 'String'},
|
|
|
{name: 'brandId', type: 'Number'},
|
|
|
],
|
|
|
{name: 'brandId', type: 'Number'}
|
|
|
]
|
|
|
},{
|
|
|
// 通过 & 驳回申请
|
|
|
route: '/payDelivery/reviewPayDeliveryCheck',
|
...
|
...
|
@@ -44,9 +44,8 @@ exports.res = [{ |
|
|
{name: 'rejectReason', type: 'String'},
|
|
|
{name: 'isPayDelivery', type: 'Number'},
|
|
|
{name: 'checkStatus', type: 'Number'},
|
|
|
{name: 'id', type: 'Number'},
|
|
|
|
|
|
],
|
|
|
{name: 'id', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
// 获取tab上的数量
|
|
|
{
|
...
|
...
|
@@ -55,15 +54,15 @@ exports.res = [{ |
|
|
url: '/payDelivery/queryCountBrandPayDelivery',
|
|
|
params: [
|
|
|
{name: 'brandId', type: 'Number'},
|
|
|
{name: 'isPayDelivery', type: 'Number'},
|
|
|
],
|
|
|
{name: 'isPayDelivery', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
// ====================== 单品货到付款限制页面路由 ===================
|
|
|
{
|
|
|
route: '/goods/cod/goods/index',
|
|
|
method: 'GET',
|
|
|
view: 'pages/goods/cod-goods',
|
|
|
src: '/goods/cod-goods',
|
|
|
src: '/goods/cod-goods'
|
|
|
}, {
|
|
|
route: '/payDelivery/queryPayDeliveryList',
|
|
|
method: 'POST',
|
...
|
...
|
@@ -75,8 +74,8 @@ exports.res = [{ |
|
|
{name: 'status', type:'Number'},
|
|
|
{name: 'productSkn', type:'Number'},
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'},
|
|
|
],
|
|
|
{name: 'size', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
// 开启货到付款
|
...
|
...
|
@@ -86,8 +85,8 @@ exports.res = [{ |
|
|
params: [
|
|
|
{name: 'productSkn', type: 'String'},
|
|
|
{name: 'brandName', type: 'String'},
|
|
|
{name: 'brandId', type: 'Number'},
|
|
|
],
|
|
|
{name: 'brandId', type: 'Number'}
|
|
|
]
|
|
|
},{
|
|
|
// 关闭货到付款
|
|
|
route: '/payDelivery/closePayDelivery',
|
...
|
...
|
@@ -96,8 +95,8 @@ exports.res = [{ |
|
|
params: [
|
|
|
{name: 'productSkn', type: 'String'},
|
|
|
{name: 'brandName', type: 'String'},
|
|
|
{name: 'brandId', type: 'Number'},
|
|
|
],
|
|
|
{name: 'brandId', type: 'Number'}
|
|
|
]
|
|
|
},{
|
|
|
// 通过申请
|
|
|
route: '/payDelivery/passPayDelivery',
|
...
|
...
|
@@ -107,8 +106,8 @@ exports.res = [{ |
|
|
{name: 'productSkn', type: 'String'},
|
|
|
{name: 'brandName', type: 'String'},
|
|
|
{name: 'brandId', type: 'Number'},
|
|
|
{name: 'id', type: 'Number'},
|
|
|
],
|
|
|
{name: 'id', type: 'Number'}
|
|
|
]
|
|
|
},{
|
|
|
// 驳回申请
|
|
|
route: '/payDelivery/rejectPayDelivery',
|
...
|
...
|
@@ -119,8 +118,8 @@ exports.res = [{ |
|
|
{name: 'brandName', type: 'String'},
|
|
|
{name: 'rejectReason', type: 'String'},
|
|
|
{name: 'brandId', type: 'Number'},
|
|
|
{name: 'id', type: 'Number'},
|
|
|
],
|
|
|
{name: 'id', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
// 获取skn列表
|
|
|
{
|
...
|
...
|
@@ -129,7 +128,7 @@ exports.res = [{ |
|
|
url: '/payDelivery/queryPayDeliveryProductSkn',
|
|
|
params: [
|
|
|
{name: 'idName', type: 'String'}
|
|
|
],
|
|
|
]
|
|
|
}, // 获取tab上的数量
|
|
|
{
|
|
|
route: '/payDelivery/queryCountProductPayDelivery',
|
...
|
...
|
@@ -138,22 +137,19 @@ exports.res = [{ |
|
|
params: [
|
|
|
{name: 'productSkn', type: 'String'},
|
|
|
{name: 'brandId', type: 'Number'},
|
|
|
{name: 'isPayDelivery', type: 'Number'},
|
|
|
],
|
|
|
{name: 'isPayDelivery', type: 'Number'}
|
|
|
]
|
|
|
}, { // 获取品牌列表
|
|
|
route: '/payDelivery/queryPayDeliveryBrandName',
|
|
|
method: 'POST',
|
|
|
url: '/payDelivery/queryPayDeliveryBrandName',
|
|
|
params: [
|
|
|
{name: 'idName', type: 'String'}
|
|
|
],
|
|
|
]
|
|
|
}, { // 批量导入
|
|
|
route: '/goods/cod/upload',
|
|
|
method: 'GET',
|
|
|
view: 'pages/goods/cod-upload',
|
|
|
src: '/goods/cod-upload',
|
|
|
|
|
|
src: '/goods/cod-upload'
|
|
|
}
|
|
|
|
|
|
|
|
|
]; |
|
|
\ No newline at end of file |
...
|
...
|
|