下单页面调整,确认订单页面调整

This commit is contained in:
2025-04-28 11:29:32 +08:00
parent 94cc918357
commit 7c182023a5
39 changed files with 5725 additions and 275 deletions

View File

@@ -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 || '',