Commit 1930d4c8 authored by 张子雨's avatar 张子雨

Merge branch 'feature/meal-3.0' of...

Merge branch 'feature/meal-3.0' of http://git.quantgroup.cn/ui/merchant-manage-ui into feature/meal-3.0
parents 0e739ded 2e2d1074
......@@ -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