修改测试BUG
This commit is contained in:
@@ -77,10 +77,10 @@ function createAxios<Data = any, T = ApiPromise<Data>>(
|
||||
config.url == '/cs-harmonic-boot/limitRateDetailD/limitProbabilityData' ||
|
||||
config.url == '/system-boot/dictTree/queryByCode' ||
|
||||
config.url == '/system-boot/dictTree/queryByid' ||
|
||||
config.url == '/system-boot/dictTree/query'||
|
||||
config.url == '/cs-harmonic-boot/csevent/f47Curve'||
|
||||
config.url == '/cs-harmonic-boot/sysExcel/querySysExcel'||
|
||||
config.url == '/cs-device-boot/csLedger/lineTree'||
|
||||
config.url == '/system-boot/dictTree/query' ||
|
||||
config.url == '/cs-harmonic-boot/csevent/f47Curve' ||
|
||||
config.url == '/cs-harmonic-boot/sysExcel/querySysExcel' ||
|
||||
config.url == '/cs-device-boot/csLedger/lineTree' ||
|
||||
config.url == '/cs-harmonic-boot/pqSensitiveUser/getUserDevTree'
|
||||
)
|
||||
)
|
||||
@@ -103,7 +103,10 @@ function createAxios<Data = any, T = ApiPromise<Data>>(
|
||||
config.headers.Authorization = 'Basic bmpjbnRlc3Q6bmpjbnBxcw=='
|
||||
}
|
||||
}
|
||||
if (config.url == '/user-boot/user/generateSm2Key' || config.url == '/pqs-auth/oauth/token') {
|
||||
if (
|
||||
config.url == '/user-boot/user/generateSm2Key' ||
|
||||
config.url == '/pqs-auth/oauth/token'
|
||||
) {
|
||||
config.headers.Authorization = 'Basic bmpjbnRlc3Q6bmpjbnBxcw=='
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user