fix: 修改参数
This commit is contained in:
parent
c2e738767c
commit
5a53aa187c
|
|
@ -18,7 +18,7 @@
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="box_4" v-if="BrandInfor['brand_id'] == 13 || BrandInfor['brand_id'] == 2">
|
<view class="box_4" v-if="BrandInfor['brand_id'] == 13 || BrandInfor['brand_id'] == 2">
|
||||||
<text lines="1" class="text_18">就餐方式</text>
|
<text lines="1" class="text_18">就餐方式瑞幸瑞幸瑞幸瑞幸</text>
|
||||||
<view class="Way">
|
<view class="Way">
|
||||||
<!-- 在店 -->
|
<!-- 在店 -->
|
||||||
<view class="Way-item" @tap="FormInfor['eat_type'] = 'EAT_IN'"
|
<view class="Way-item" @tap="FormInfor['eat_type'] = 'EAT_IN'"
|
||||||
|
|
@ -171,7 +171,6 @@
|
||||||
// 请求
|
// 请求
|
||||||
import {
|
import {
|
||||||
conWalletInfoAPI,
|
conWalletInfoAPI,
|
||||||
createOrderNewAPI,
|
|
||||||
getPhoneAPI,
|
getPhoneAPI,
|
||||||
createFoodOrder
|
createFoodOrder
|
||||||
} from '@/request/restaurant/index.js';
|
} from '@/request/restaurant/index.js';
|
||||||
|
|
@ -368,7 +367,6 @@
|
||||||
createFoodOrder(from).then(res => {
|
createFoodOrder(from).then(res => {
|
||||||
console.log(res.adta)
|
console.log(res.adta)
|
||||||
|
|
||||||
|
|
||||||
let redirect_url = '/pages/restaurant/order/order-details/details';
|
let redirect_url = '/pages/restaurant/order/order-details/details';
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
this.$Payment.H5TOWX_Payment({
|
this.$Payment.H5TOWX_Payment({
|
||||||
|
|
|
||||||
|
|
@ -142,7 +142,6 @@
|
||||||
import calculationamountmixin from '@/static/js/mixin/calculationamountmixin.js'
|
import calculationamountmixin from '@/static/js/mixin/calculationamountmixin.js'
|
||||||
// 请求
|
// 请求
|
||||||
import {
|
import {
|
||||||
createOrderNewAPI,
|
|
||||||
conWalletInfoAPI,
|
conWalletInfoAPI,
|
||||||
getPhoneAPI,
|
getPhoneAPI,
|
||||||
computedOfflineOrder,
|
computedOfflineOrder,
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ export const menuDetailsAPI = parameters => request.Request({ url: "/api/client/
|
||||||
/**
|
/**
|
||||||
* @瑞幸/星巴克创建订单
|
* @瑞幸/星巴克创建订单
|
||||||
*/
|
*/
|
||||||
export const createOrderNewAPI = parameters => request.Request({ url: "/card.Restaurant/createOrderNew", parameters,method:'POST' });
|
// export const createOrderNewAPI = parameters => request.Request({ url: "/api/client/orders/createFoodOrder", parameters,method:'POST' });
|
||||||
/**
|
/**
|
||||||
* @点餐选择地区
|
* @点餐选择地区
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ import {
|
||||||
WXpayH5API
|
WXpayH5API
|
||||||
} from '@/request/recharge/index.js';
|
} from '@/request/recharge/index.js';
|
||||||
import {
|
import {
|
||||||
createOrderNewAPI,
|
// createOrderNewAPI,
|
||||||
agOrderPayAPI,
|
agOrderPayAPI,
|
||||||
} from '@/request/restaurant/index.js';
|
} from '@/request/restaurant/index.js';
|
||||||
// 获取配置文件
|
// 获取配置文件
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ import {
|
||||||
} from 'vuex';
|
} from 'vuex';
|
||||||
// 请求
|
// 请求
|
||||||
import {
|
import {
|
||||||
createOrderNewAPI,
|
// createOrderNewAPI,
|
||||||
agOrderPayAPI,
|
agOrderPayAPI,
|
||||||
computedOfflineOrder
|
computedOfflineOrder
|
||||||
} from '@/request/restaurant/index.js';
|
} from '@/request/restaurant/index.js';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue