feat: 封装了接口请求的工具与获取微信授权码的方法

This commit is contained in:
2025-07-20 20:34:32 +08:00
parent fd287ada91
commit efe578cf0b
7 changed files with 125 additions and 0 deletions

9
request/api/LoginApi.js Normal file
View File

@@ -0,0 +1,9 @@
import request from "../base/request";
function login(args) {
return request.post('/auth/oauth2/token', args, {
noToken: true,
});
}
export { login }