diff --git a/src/api/platform/common/controller/pushThirdParty.ts b/src/api/platform/common/controller/pushThirdParty.ts index 8e1a87b..249e19d 100644 --- a/src/api/platform/common/controller/pushThirdParty.ts +++ b/src/api/platform/common/controller/pushThirdParty.ts @@ -13,6 +13,7 @@ enum Api { getByUserId = '/common_proxy/common/pushThirdParty/getByUserId', edit = '/common_proxy/common/pushThirdParty/update', del = '/common_proxy/common/pushThirdParty/remove', + revokeAuth = '/common_proxy/common/pushThirdParty/revokeAuth' } export const listPushThirdParty = (params?: Partial) => defHttp.get({ url: Api.list, params }, { isReturnResultResponse: true }); @@ -25,4 +26,6 @@ export const getPushThirdParty = (id: string) => defHttp.get({ u export const getPushThirdPartyByUserId = (id: string) => defHttp.get({ url: `${Api.getByUserId}/${id}` }); +export const delRevokeAuth = () => defHttp.delete({ url: Api.revokeAuth }); + export const delPushThirdParty = (ids: string) => defHttp.delete({ url: `${Api.del}/${ids}` }); diff --git a/src/views/common/push/pushThirdParty/ThirdPartyModal.vue b/src/views/common/push/pushThirdParty/ThirdPartyModal.vue index 4167559..9ee4a96 100644 --- a/src/views/common/push/pushThirdParty/ThirdPartyModal.vue +++ b/src/views/common/push/pushThirdParty/ThirdPartyModal.vue @@ -17,14 +17,14 @@ PushThirdPartyModal