Authored by wangtao

chore: 请求参数优化

... ... @@ -120,8 +120,8 @@ layui.define(['laytpl', 'layer','common'], function (exports) {
let tokenVal = common.getMjToken();
let tokenKey = common.getMjTokenKey();
if(options.type == 'post'){
options.headers[tokenKey] = "BearerMj " + tokenVal;
if(options.type == 'post' || options.type == 'POST'){
options.headers['AuthorizationMj'] = "BearerMj " + tokenVal;
} else if (request.tokenName) {
let tokenVal = options.data[request.tokenName];
if(!tokenVal || tokenVal == ''){
... ...