diff --git a/src/js/server.js b/src/js/server.js index 2c2579d..c671b75 100644 --- a/src/js/server.js +++ b/src/js/server.js @@ -12,7 +12,9 @@ export class Server { const _token = uni.getStorageSync('token') || ''; if(_token)data['token'] = _token; - if(method === 'POST'&&_token)url = url + `?token=${_token}` + if(method === 'POST'&&_token)url = url + `?token=${_token}`; + // 20230829 新增全局参数 + data[ 'from_platform' ] = 'ouxuan_weixin_assistant'; uni.request({ url, data,