no message
This commit is contained in:
parent
b21609d1d8
commit
1f52873509
@ -1,7 +1,7 @@
|
||||
MP_API_BASE_URL=http://localhost:8080
|
||||
MP_IMAGE_URL=https://patient.youcan365.com
|
||||
MP_CACHE_PREFIX=development
|
||||
MP_WX_APP_ID=wx93af55767423938e
|
||||
MP_WX_APP_ID=wx1d8337a40c11d66c
|
||||
MP_CORP_ID=wwe3fb2faa52cf9dfb
|
||||
MP_TIM_SDK_APP_ID=1600123876
|
||||
MP_WX_MP_APP_ID=wxce46d19ff09c1832
|
||||
@ -1,7 +1,7 @@
|
||||
MP_API_BASE_URL=http://localhost:8080
|
||||
MP_IMAGE_URL=https://patient.youcan365.com
|
||||
MP_CACHE_PREFIX=development
|
||||
MP_WX_APP_ID=wx93af55767423938e
|
||||
MP_WX_APP_ID=wx1d8337a40c11d66c
|
||||
MP_CORP_ID=wwe3fb2faa52cf9dfb
|
||||
MP_TIM_SDK_APP_ID=1600123876
|
||||
MP_WX_MP_APP_ID=wxce46d19ff09c1832
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "ykt-wxapp",
|
||||
"appid" : "__UNI__06F5B0E",
|
||||
"appid" : "__UNI__C0FBE5A",
|
||||
"description" : "",
|
||||
"versionName" : "1.0.0",
|
||||
"versionCode" : "100",
|
||||
|
||||
@ -27,7 +27,7 @@ export default defineStore("accountStore", () => {
|
||||
}
|
||||
|
||||
async function login(phoneCode) {
|
||||
const res = await getLoginPromise(phoneCode);
|
||||
const res = getLoginPromise(phoneCode);
|
||||
loginPromise.value = null;
|
||||
return res
|
||||
}
|
||||
@ -51,6 +51,7 @@ export default defineStore("accountStore", () => {
|
||||
if (code) {
|
||||
// 将小程序 code + 公众号 code 一起传给后端,进行用户映射(后端用各自 appid/secret 换 openid/unionid)
|
||||
const res = await api('wxAppLogin', {
|
||||
appid,
|
||||
phoneCode,
|
||||
code, // 小程序code
|
||||
mpCode, // 公众号 code(如果有)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user