no message
This commit is contained in:
parent
edec00cb37
commit
c9483c48c1
@ -1,5 +1,4 @@
|
|||||||
MP_API_BASE_URL=https://patient.youcan365.com
|
MP_API_BASE_URL=https://patient.youcan365.com
|
||||||
MP_CACHE_PREFIX=development
|
MP_CACHE_PREFIX=development
|
||||||
MP_WX_APP_ID=wx6ee11733526b4f04
|
MP_WX_APP_ID=wx6ee11733526b4f04
|
||||||
MP_TIM_SDK_APP_ID=1600123876
|
MP_TIM_SDK_APP_ID=1600123876
|
||||||
MP_CORP_ID=wwe3fb2faa52cf9dfb
|
|
||||||
@ -2,4 +2,3 @@ MP_API_BASE_URL=http://localhost:8080
|
|||||||
MP_CACHE_PREFIX=development
|
MP_CACHE_PREFIX=development
|
||||||
MP_WX_APP_ID=wx6ee11733526b4f04
|
MP_WX_APP_ID=wx6ee11733526b4f04
|
||||||
MP_TIM_SDK_APP_ID=1600123876
|
MP_TIM_SDK_APP_ID=1600123876
|
||||||
MP_CORP_ID=wwe3fb2faa52cf9dfb
|
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
MP_API_BASE_URL=https://ykt.youcan365.com
|
MP_API_BASE_URL=https://ykt.youcan365.com
|
||||||
MP_CACHE_PREFIX=production
|
MP_CACHE_PREFIX=production
|
||||||
MP_WX_APP_ID=production
|
MP_WX_APP_ID=production
|
||||||
MP_TIM_SDK_APP_ID=1600123876
|
MP_TIM_SDK_APP_ID=1600123876
|
||||||
MP_CORP_ID=wwe3fb2faa52cf9dfb
|
|
||||||
@ -7,7 +7,6 @@ const env = __VITE_ENV__;
|
|||||||
|
|
||||||
export default defineStore("accountStore", () => {
|
export default defineStore("accountStore", () => {
|
||||||
const appid = env.MP_WX_APP_ID;
|
const appid = env.MP_WX_APP_ID;
|
||||||
const corpId = env.MP_CORP_ID;
|
|
||||||
const account = ref(null);
|
const account = ref(null);
|
||||||
const loading = ref(false)
|
const loading = ref(false)
|
||||||
const isIMInitialized = ref(false);
|
const isIMInitialized = ref(false);
|
||||||
@ -27,8 +26,7 @@ export default defineStore("accountStore", () => {
|
|||||||
const res = await api('wxAppLogin', {
|
const res = await api('wxAppLogin', {
|
||||||
appId: appid,
|
appId: appid,
|
||||||
phoneCode,
|
phoneCode,
|
||||||
code,
|
code
|
||||||
corpId
|
|
||||||
});
|
});
|
||||||
loading.value = false
|
loading.value = false
|
||||||
if (res.success && res.data && res.data.mobile) {
|
if (res.success && res.data && res.data.mobile) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user