a4815d8f by lxs

通过config.js配置appKey

1 parent c6be18f0
...@@ -35,7 +35,7 @@ const useUserStore = defineStore( ...@@ -35,7 +35,7 @@ const useUserStore = defineStore(
35 data.platformGuid = "7f16f697aec111ef8656fa163e60becd"; 35 data.platformGuid = "7f16f697aec111ef8656fa163e60becd";
36 data.userType = 2; 36 data.userType = 2;
37 // data.appKey = '672c2c38e4b0cac8732a6106'; 37 // data.appKey = '672c2c38e4b0cac8732a6106';
38 data.appKey = config.appKey ; 38 data.appKey = config.appKey || '672c2c38e4b0cac8732a6106';
39 data.validateUri = location.origin == 'http://localhost:9000' ? 'http://localhost:9000/' : location.origin + '/'; 39 data.validateUri = location.origin == 'http://localhost:9000' ? 'http://localhost:9000/' : location.origin + '/';
40 return getTokenPromise.value = getTokenByCode(data).then((res: any) => { 40 return getTokenPromise.value = getTokenByCode(data).then((res: any) => {
41 getTokenPromise.value = null; 41 getTokenPromise.value = null;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!