Merge branch 'ymf' of https://newgitea.sxczgkj.cn/czg_team/cashier_wx into gyq
This commit is contained in:
@@ -5,8 +5,9 @@ export default (params) => {
|
||||
let type = params.type || 1;
|
||||
let toast = params.toast || true;
|
||||
let token=uni.cache.get('token') || '';
|
||||
const shopId=uni.cache.get('shopId')*1;
|
||||
// #ifdef H5
|
||||
token="b152112b96e24feb8aa47062136c043b"
|
||||
token="21f0a0b10e1d40ce9c6464037fedb792"
|
||||
// #endif
|
||||
let header = {
|
||||
version: uni.conf.version,
|
||||
@@ -25,7 +26,7 @@ export default (params) => {
|
||||
// #endif
|
||||
token,
|
||||
id: uni.cache.get('userInfo').id || '',
|
||||
shopId: uni.cache.get('shopId') || '',
|
||||
shopId:shopId || '',
|
||||
userId: uni.cache.get('userInfo').id || '',
|
||||
}
|
||||
if (toast) {
|
||||
|
||||
Reference in New Issue
Block a user