@@ -3,10 +3,8 @@ if(process.env.NODE_ENV === 'development'){
// 开发环境
URL_CONFIG = 'http://192.168.2.68:8008' //涛涛联调地址
// URL_CONFIG = 'http://192.168.2.67:8008' //裴裴联调地址
- // URL_CONFIG = 'http://192.168.2.68:8008' //涛涛联调地址
- // URL_CONFIG = 'http://192.168.2.67:8008' //裴裴联调地址
// URL_CONFIG = 'http://192.168.2.75:8008' //超超联调地址
- URL_CONFIG = 'https://spi-b.caimei365.com' //采美测试地址
+ // URL_CONFIG = 'https://spi-b.caimei365.com' //采美测试地址
// URL_CONFIG = 'https://spi.caimei365.com'
}else{
// 生产环境
@@ -268,9 +268,11 @@
return stateText;
},
deletefailureList(){
- this.failureList.forEach(failure=>{ this.delGoodsList += failure.productId+',' })
+ this.failureList.forEach(failure=>{ this.delGoodsList += failure.sellerCartId+',' })
this.$util.modal('','确定清空全部失效商品吗?','确定','取消',true,() =>{
- this.SellerService.SellerCartdelete({userID:this.userID,productIDs:this.delGoodsList}).then(response =>{
+ console.log(this.delGoodsList)
+ this.SellerService.SellerCartdelete({sellerCartIds:this.delGoodsList}).then(response =>{
+ console.log(response)
this.$util.msg('删除成功',2000);
setTimeout(()=>{
this.isshowDelbtn = false;
@@ -128,6 +128,6 @@ export default class SellerService {
}
// 协销购物车清空失效列表
SellerCartdelete (data = {}) {
- return this.AjaxService.post({ url:'seller/deleteSellerCart', data, isLoading: true })
+ return this.AjaxService.post({ url:'/seller/deleteSellerCart', data, isLoading: true })