diff --git a/src/api/system/social/user/index.ts b/src/api/system/social/user/index.ts index f2850a62..f11231b7 100644 --- a/src/api/system/social/user/index.ts +++ b/src/api/system/social/user/index.ts @@ -22,13 +22,3 @@ export const getSocialUserPage = async (params) => { export const getSocialUser = async (id: number) => { return await request.get({ url: `/system/social-user/get?id=` + id }) } - -// 修改社交用户 -export const updateSocialUser = async (data: SocialUserVO) => { - return await request.put({ url: `/system/social-user/update`, data }) -} - -// 删除社交用户 -export const deleteSocialUser = async (id: number) => { - return await request.delete({ url: `/system/social-user/delete?id=` + id }) -} diff --git a/src/utils/dict.ts b/src/utils/dict.ts index b2bf39b2..6afe0aa6 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -116,7 +116,7 @@ export enum DICT_TYPE { SYSTEM_OAUTH2_GRANT_TYPE = 'system_oauth2_grant_type', SYSTEM_MAIL_SEND_STATUS = 'system_mail_send_status', SYSTEM_NOTIFY_TEMPLATE_TYPE = 'system_notify_template_type', - SYSTEM_SOCIAL_CLIENT_TYPE = 'system_social_client_type', + SYSTEM_SOCIAL_TYPE = 'system_social_type', // ========== INFRA 模块 ========== INFRA_BOOLEAN_STRING = 'infra_boolean_string', diff --git a/src/views/system/loginlog/LoginLogDetail.vue b/src/views/system/loginlog/LoginLogDetail.vue index 54db0259..3679fa98 100644 --- a/src/views/system/loginlog/LoginLogDetail.vue +++ b/src/views/system/loginlog/LoginLogDetail.vue @@ -34,7 +34,7 @@ defineOptions({ name: 'SystemLoginLogDetail' }) const dialogVisible = ref(false) // 弹窗的是否展示 const detailLoading = ref(false) // 表单的加载中 -const detailData = ref() // 详情数据 +const detailData = ref({}) // 详情数据 /** 打开弹窗 */ const open = async (data: LoginLogApi.LoginLogVO) => { diff --git a/src/views/system/social/client/SocialClientForm.vue b/src/views/system/social/client/SocialClientForm.vue index 5ca0e158..e6f92bd6 100644 --- a/src/views/system/social/client/SocialClientForm.vue +++ b/src/views/system/social/client/SocialClientForm.vue @@ -13,7 +13,7 @@ @@ -41,8 +41,8 @@ placeholder="请输入客户端密钥,对应各平台的appSecret" /> - - + + diff --git a/src/views/system/social/client/index.vue b/src/views/system/social/client/index.vue index de3bf705..4f3cdb84 100644 --- a/src/views/system/social/client/index.vue +++ b/src/views/system/social/client/index.vue @@ -25,7 +25,7 @@ placeholder="请选择社交平台" > - - - - - - @@ -115,7 +95,7 @@ @@ -123,8 +103,7 @@ - - +