feat: 端点登录
This commit is contained in:
@@ -593,8 +593,8 @@
|
|||||||
async exchangeToken(options) {
|
async exchangeToken(options) {
|
||||||
try {
|
try {
|
||||||
const type = '100'
|
const type = '100'
|
||||||
const code = '1222' || options?.code
|
const code = options?.code
|
||||||
const state = this.uuid() || options?.state
|
const state =options?.state || this.uuid()
|
||||||
const res = await socialLogin(type, code, state)
|
const res = await socialLogin(type, code, state)
|
||||||
const {accessToken,refreshToken} = res.data
|
const {accessToken,refreshToken} = res.data
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
|
|||||||
Reference in New Issue
Block a user