feat(web-admin): add mp webview shell and /m/pl/plan static routes.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
c0721786ff
commit
8fbe0679c9
8 files changed
+238
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import request from '@/utils/http'
|
||||
|
||||
export const mpWebviewApi = {
|
||||
exchange: (ticket: string) =>
|
||||
request.post<{
|
||||
token: string
|
||||
refreshToken: string
|
||||
expiresIn: number
|
||||
userInfo: Api.Auth.UserInfo
|
||||
}>({
|
||||
url: '/web/auth/mp-webview-exchange',
|
||||
data: { ticket },
|
||||
showErrorMessage: false
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user