Merge pull request 'lixuan' (#6) from lixuan into master

Reviewed-on: #6
pull/7/head
李轩 2 years ago
commit fbb1742fc2
  1. 2
      src/utils/request.js

@ -21,7 +21,7 @@ service.interceptors.request.use(
const JSESSIONID = utils.uuid(); const JSESSIONID = utils.uuid();
config.headers["JSESSIONID"] = JSESSIONID; config.headers["JSESSIONID"] = JSESSIONID;
config.headers["token"] = utils.bcrypt(JSESSIONID); config.headers["token"] = utils.bcrypt(JSESSIONID);
config.headers['dataSources'] = 'WEB'
if (env === "development") { if (env === "development") {
return config; return config;
} }

Loading…
Cancel
Save