Commit 2e2d1074 authored by 武广's avatar 武广

fix: 修改报错信息

parent 826f0972
......@@ -2,7 +2,8 @@ const isProduction = process.env.NODE_ENV === 'production';
const isPre = process.env.PRE_ENV === 'pre';
const environment = 'sc';
// 从tob进入的判断接口前缀
const apiPrefix = sessionStorage.get('role') === 'platform' ? '/api/consoles' : '/api/merchants';
const apiPrefix =
sessionStorage.getItem('role') === 'platform' ? '/api/consoles' : '/api/merchants';
const envAPi = {
api: `https://security-${environment}.liangkebang.net`, //'https://security-xyqb.liangkebang.net',
kdspOpApi: `https://sc-merchant-api-${environment}.liangkebang.net`,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment