Browse Source

Merge branch 'dev' into id1370

t # Please enter a commit message to explain why this merge is necessary,
privacy
刘嘉炜 1 year ago
parent
commit
c4e7e04f86
  1. 4
      src/js/server.js

4
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,

Loading…
Cancel
Save