Commit 5ee9eceb authored by 郭志伟's avatar 郭志伟

feat(tenant): 调试

parent b2cf9a08
...@@ -3,13 +3,13 @@ const protocol = EASY_ENV_IS_BROWSER ? window.location.protocol : 'http'; ...@@ -3,13 +3,13 @@ const protocol = EASY_ENV_IS_BROWSER ? window.location.protocol : 'http';
export default { export default {
apiHost: `http://localhost:7002/`, apiHost: `http://localhost:7002/`,
// apiHost: `http://192.168.28.199:7001/`, // apiHost: `http://192.168.28.199:7001/`,
// apiHost: 'https://quantum-blocks-bfe.liangkebang.net/', // apiHost: 'https://quantum-blocks-vcc3.liangkebang.net/',
h5Host: 'https://quantum-h5-bfe.liangkebang.net', h5Host: 'https://quantum-h5-vcc3.liangkebang.net',
qiniuHost: `https://appsync.lkbang.net`, qiniuHost: `https://appsync.lkbang.net`,
shenceUrl: `${protocol}//bn.xyqb.com/sa?project=default`, shenceUrl: `${protocol}//bn.xyqb.com/sa?project=default`,
opapiHost: `https://opapi-bfe.liangkebang.net`, opapiHost: `https://opapi-vcc3.liangkebang.net`,
qiniuUpHost: `${protocol}//up-z0.qiniup.com`, qiniuUpHost: `${protocol}//up-z0.qiniup.com`,
// kdspHost: 'https://kdsp-api-bfe.liangkebang.net', // kdspHost: 'https://kdsp-api-vcc3.liangkebang.net',
kdspHost: 'https://talos-bfe.liangkebang.net', kdspHost: 'https://talos-vcc3.liangkebang.net',
yxmTenantId: 560761 yxmTenantId: 560761
}; };
\ No newline at end of file
...@@ -158,7 +158,7 @@ export default class DynamicPageForm extends Mixins(ContextMenuMixin) { ...@@ -158,7 +158,7 @@ export default class DynamicPageForm extends Mixins(ContextMenuMixin) {
@Watch('hideShareBtn', { immediate: true }) @Watch('hideShareBtn', { immediate: true })
onAuthStateChange(val) { onAuthStateChange(val) {
const options = val ? ['购物车', '自定义'] : ['购物车', '分享', '自定义']; const options = val ? ['自定义'] : ['购物车', '分享', '自定义'];
this.$set(this.floatSchema[1].formControl[0], 'options', options); this.$set(this.floatSchema[1].formControl[0], 'options', options);
} }
......
...@@ -96,7 +96,6 @@ instance.interceptors.request.use( ...@@ -96,7 +96,6 @@ instance.interceptors.request.use(
config.headers['X-Auth-Token'] = token; config.headers['X-Auth-Token'] = token;
if (config.accessToken) { config.headers['Access-Token'] = token; } if (config.accessToken) { config.headers['Access-Token'] = token; }
} }
// TODO 需要确定后台字段是什么
const tenantId = localStorage.get('tenantId') || ''; const tenantId = localStorage.get('tenantId') || '';
config.headers['qg-tenant-id'] = tenantId || ''; config.headers['qg-tenant-id'] = tenantId || '';
return config; return config;
......
...@@ -26,8 +26,8 @@ export default (appInfo: EggAppConfig) => { ...@@ -26,8 +26,8 @@ export default (appInfo: EggAppConfig) => {
dialect: 'mysql', dialect: 'mysql',
username: 'qa', username: 'qa',
password: 'qatest', password: 'qatest',
host: '172.17.5.46', host: '172.17.5.48',
port: 30198, port: 31393,
database: 'low_code', database: 'low_code',
}; };
...@@ -36,7 +36,7 @@ export default (appInfo: EggAppConfig) => { ...@@ -36,7 +36,7 @@ export default (appInfo: EggAppConfig) => {
keyPrefix: appInfo.name + ':', keyPrefix: appInfo.name + ':',
}, },
client: { client: {
port: 31226, // Redis port port: 31543, // Redis port
host: '172.17.5.14', // Redis host host: '172.17.5.14', // Redis host
password: '', password: '',
db: 0 db: 0
......
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