From a1d7e81859f554f3a53680cc35f0f49bf1f77098 Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期四, 14 五月 2026 14:37:02 +0800
Subject: [PATCH] 导入项目
---
src/api/system/social/user/index.ts | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/src/api/system/social/user/index.ts b/src/api/system/social/user/index.ts
new file mode 100644
index 0000000..9f1631d
--- /dev/null
+++ b/src/api/system/social/user/index.ts
@@ -0,0 +1,29 @@
+import request from '@/config/axios'
+
+export interface SocialUserVO {
+ id: number
+ type: number
+ openid: string
+ token: string
+ rawTokenInfo: string
+ nickname: string
+ avatar: string
+ rawUserInfo: string
+ code: string
+ state: string
+}
+
+// 鏌ヨ绀句氦鐢ㄦ埛鍒楄〃
+export const getSocialUserPage = async (params: any) => {
+ return await request.get({ url: `/system/social-user/page`, params })
+}
+
+// 鏌ヨ绀句氦鐢ㄦ埛璇︽儏
+export const getSocialUser = async (id: number) => {
+ return await request.get({ url: `/system/social-user/get?id=` + id })
+}
+
+// 鑾峰緱缁戝畾绀句氦鐢ㄦ埛鍒楄〃
+export const getBindSocialUserList = async () => {
+ return await request.get({ url: '/system/social-user/get-bind-list' })
+}
--
Gitblit v1.8.0