init
This commit is contained in:
11
api/authApi.js
Normal file
11
api/authApi.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import moduleRequest from "../utils/http"
|
||||
|
||||
const http = moduleRequest('/auth/c/')
|
||||
|
||||
export default {
|
||||
// 登录
|
||||
login: (data)=> http.post('doLogin',data),
|
||||
|
||||
// 获取登录用户
|
||||
getLoginUser: ()=> http.get('getLoginUser')
|
||||
}
|
||||
Reference in New Issue
Block a user