Browse Source

add server from_platform = ouxuan_weixin_assistant

privacy
刘嘉炜 1 year ago
parent
commit
a3f8679ee6
  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