feat: 端点登录

This commit is contained in:
caijun
2026-01-26 10:44:20 +08:00
parent f43f2ff3c2
commit 46c351151b

View File

@@ -593,8 +593,8 @@
async exchangeToken(options) {
try {
const type = '100'
const code = '1222' || options?.code
const state = this.uuid() || options?.state
const code = options?.code
const state =options?.state || this.uuid()
const res = await socialLogin(type, code, state)
const {accessToken,refreshToken} = res.data
const userStore = useUserStore()