改为调用正式环境接口
This commit is contained in:
parent
d37ea986c5
commit
cefcb4713d
|
@ -158,7 +158,7 @@
|
||||||
status:this.tabIndex,
|
status:this.tabIndex,
|
||||||
minMoney:this.priceDd
|
minMoney:this.priceDd
|
||||||
}
|
}
|
||||||
this.$Request.get('/app/coupon/selectUserCouponList',data).then(res => {
|
this.$Request.getT('/app/coupon/selectUserCouponList',data).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
if (res.data) {
|
if (res.data) {
|
||||||
if (this.page == 1) this.hongbao = []; //如果是第一页需手动制空列表
|
if (this.page == 1) this.hongbao = []; //如果是第一页需手动制空列表
|
||||||
|
|
|
@ -330,7 +330,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getmrsc() {
|
getmrsc() {
|
||||||
this.$Request.get('/app/goods/recommend?page=0&size=3&sort=createAt').then(res => {
|
this.$Request.getT('/app/goods/recommend?page=0&size=3&sort=createAt').then(res => {
|
||||||
if (res.status === 0) {
|
if (res.status === 0) {
|
||||||
this.mrscList = res.data.content;
|
this.mrscList = res.data.content;
|
||||||
}
|
}
|
||||||
|
|
|
@ -286,7 +286,7 @@
|
||||||
// #endif
|
// #endif
|
||||||
} else if (this.openWay === 2) { //2:零钱支付
|
} else if (this.openWay === 2) { //2:零钱支付
|
||||||
let orderIds = this.id;
|
let orderIds = this.id;
|
||||||
this.$Request.get('/app/orders/changePay?ordersId=' + this.id).then(async res => {
|
this.$Request.getT('/app/orders/changePay?ordersId=' + this.id).then(async res => {
|
||||||
if (res.status === 0) {
|
if (res.status === 0) {
|
||||||
if(this.goodsType == 57){
|
if(this.goodsType == 57){
|
||||||
//代金券直接执行发货逻辑(pc端商城订单确认收货的逻辑)
|
//代金券直接执行发货逻辑(pc端商城订单确认收货的逻辑)
|
||||||
|
|
Loading…
Reference in New Issue