feat: 端点登录
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user