公告板
版本库
filestore
活动
搜索
登录
main
/
jiashicang-front
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
login静态
付延余
2022-04-09
1d42ad8fd052501107a4ef5ecb3249facb7d54d0
[jiashicang-front.git]
/
src
/
api
/
index.js
1
2
3
4
5
6
7
8
9
import { getRequest, postRequest } from "../libs/axios";
// 后台用户相关
export const login = params => {
return postRequest('/login', params);
}
export const getAdminIndex = params => {
return getRequest('/getAdminIndex', params);
}