diff --git a/src/api/system/auth2.js b/src/api/system/auth2.js index da8bf7f..28891a0 100644 --- a/src/api/system/auth2.js +++ b/src/api/system/auth2.js @@ -24,4 +24,13 @@ export function edit(data) { data }) } -export default { add, edit, del } + +// 根据appKey获取appSecret +export function FetchAppSecret(params) { + return request({ + url: 'api/oauthClient/getAppSecret', + method: 'get', + params + }) +} +export default { add, edit, del, FetchAppSecret }