|
@@ -118,6 +118,7 @@
|
|
|
<script>
|
|
|
import env from '../../config/env.js'
|
|
|
import $http from '@/utils/request.js'
|
|
|
+ import appId from '@/config/appId.js'
|
|
|
import AreaPicker from '../../components/area-picker/area-picker.vue'
|
|
|
import Auth from '../../components/auth/auth.vue'
|
|
|
export default {
|
|
@@ -194,13 +195,15 @@
|
|
|
// #ifdef MP-ALIPAY
|
|
|
let data = {
|
|
|
orderId: res.data.orderId,
|
|
|
- payType: 1
|
|
|
+ payType: 1,
|
|
|
+ appSource: appId
|
|
|
}
|
|
|
// #endif
|
|
|
// #ifndef MP-ALIPAY
|
|
|
let data = {
|
|
|
orderId: res.data.orderId,
|
|
|
- payType: 2
|
|
|
+ payType: 2,
|
|
|
+ appSource: appId
|
|
|
}
|
|
|
// #endif
|
|
|
$http.post('/api/v1/mp/user/deliver/order/pay', data).then(ele => {
|
|
@@ -321,7 +324,8 @@
|
|
|
title: '加载中'
|
|
|
});
|
|
|
let data = {
|
|
|
- ids: this.ids
|
|
|
+ ids: this.ids,
|
|
|
+ appSource: appId
|
|
|
}
|
|
|
if(this.payment != ""){
|
|
|
data = this.payment
|