|
@@ -14,7 +14,8 @@ function getHeaders(config = {}) {
|
|
|
const { contentType = 'json' } = config;
|
|
|
const ct = CONTENT_TYPE_ARRAY[contentType];
|
|
|
let header = {
|
|
|
- appId: uni.getStorageSync('appId'),
|
|
|
+ // TODO 后期需要根据环境 appId
|
|
|
+ appId: 'wxb81a622ed6d60adf',
|
|
|
'Content-Type': ct,
|
|
|
};
|
|
|
const token = getToken();
|