下单页面调整,确认订单页面调整
This commit is contained in:
@@ -4,6 +4,10 @@ export default (params) => {
|
||||
let data = params.data || {};
|
||||
let type = params.type || 1;
|
||||
let toast = params.toast || true;
|
||||
let token=uni.cache.get('token') || '';
|
||||
// #ifdef H5
|
||||
token="b152112b96e24feb8aa47062136c043b"
|
||||
// #endif
|
||||
let header = {
|
||||
version: uni.conf.version,
|
||||
type: uni.getSystemInfoSync().platform,
|
||||
@@ -19,7 +23,7 @@ export default (params) => {
|
||||
// #ifdef MP-ALIPAY
|
||||
platformType: 'ALI',
|
||||
// #endif
|
||||
token: uni.cache.get('token') || '',
|
||||
token,
|
||||
id: uni.cache.get('userInfo').id || '',
|
||||
shopId: uni.cache.get('shopId') || '',
|
||||
userId: uni.cache.get('userInfo').id || '',
|
||||
|
||||
@@ -4,6 +4,14 @@ const urlAccount = '/account'
|
||||
const urlProduct = '/product'
|
||||
const urlOrder = '/order'
|
||||
|
||||
//桌码获取详细台桌信息
|
||||
export const getTableInfo = (data) => {
|
||||
return request({
|
||||
url: urlAccount + '/user/shopInfo/tableInfo',
|
||||
method: 'get',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//商品列表
|
||||
export const APIgeocodelocation = (data) => {
|
||||
return request({
|
||||
|
||||
Reference in New Issue
Block a user