|
|
@@ -26,7 +26,7 @@ define([ 'ngResource' ], function() {
|
|
|
/*
|
|
|
* 删除品牌供应商申请信息
|
|
|
*/
|
|
|
- delete: {
|
|
|
+ deleteById: {
|
|
|
url: rootPath + '/produce/vendorSubmit/:id',
|
|
|
method: 'DELETE'
|
|
|
},
|
|
|
@@ -41,28 +41,28 @@ define([ 'ngResource' ], function() {
|
|
|
/*
|
|
|
* 保存
|
|
|
*/
|
|
|
- submit : {
|
|
|
+ submit: {
|
|
|
url : rootPath + '/produce/vendorSubmit',
|
|
|
method : 'POST'
|
|
|
},
|
|
|
/*
|
|
|
* 更新供应商申请
|
|
|
*/
|
|
|
- updateSupplier : {
|
|
|
+ updateSupplier: {
|
|
|
url : rootPath + '/produce/vendorSubmit/update',
|
|
|
method : 'POST'
|
|
|
},
|
|
|
/*
|
|
|
* 审核通过
|
|
|
*/
|
|
|
- audit : {
|
|
|
+ audit: {
|
|
|
url : rootPath + '/produce/vendorSubmit/audit',
|
|
|
method : 'POST'
|
|
|
},
|
|
|
/*
|
|
|
* 审核不通过
|
|
|
*/
|
|
|
- unaudit : {
|
|
|
+ unaudit: {
|
|
|
url : rootPath + '/produce/vendorSubmit/unaudit/:id',
|
|
|
method : 'POST'
|
|
|
}
|