diff --git a/.env.development b/.env.development index 44fa76f..db76d4c 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,4 @@ MP_API_BASE_URL=https://patient.youcan365.com MP_CACHE_PREFIX=development MP_WX_APP_ID=wx6ee11733526b4f04 -MP_TIM_SDK_APP_ID=1600123876 -MP_CORP_ID=wwe3fb2faa52cf9dfb +MP_TIM_SDK_APP_ID=1600123876 \ No newline at end of file diff --git a/.env.localhost b/.env.localhost index 5c8f00a..caeee5d 100644 --- a/.env.localhost +++ b/.env.localhost @@ -2,4 +2,3 @@ MP_API_BASE_URL=http://localhost:8080 MP_CACHE_PREFIX=development MP_WX_APP_ID=wx6ee11733526b4f04 MP_TIM_SDK_APP_ID=1600123876 -MP_CORP_ID=wwe3fb2faa52cf9dfb diff --git a/.env.production b/.env.production index 62fd542..ec41303 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,4 @@ MP_API_BASE_URL=https://ykt.youcan365.com MP_CACHE_PREFIX=production MP_WX_APP_ID=production -MP_TIM_SDK_APP_ID=1600123876 -MP_CORP_ID=wwe3fb2faa52cf9dfb \ No newline at end of file +MP_TIM_SDK_APP_ID=1600123876 \ No newline at end of file diff --git a/store/account.js b/store/account.js index c43d123..087ce0a 100644 --- a/store/account.js +++ b/store/account.js @@ -7,7 +7,6 @@ const env = __VITE_ENV__; export default defineStore("accountStore", () => { const appid = env.MP_WX_APP_ID; - const corpId = env.MP_CORP_ID; const account = ref(null); const loading = ref(false) const isIMInitialized = ref(false); @@ -27,8 +26,7 @@ export default defineStore("accountStore", () => { const res = await api('wxAppLogin', { appId: appid, phoneCode, - code, - corpId + code }); loading.value = false if (res.success && res.data && res.data.mobile) {