lixuan #4

Merged
lixuan merged 2 commits from lixuan into master 2 years ago
  1. 1
      src/utils/request.js

@ -22,6 +22,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