2026-06-09 19:29:04 +08:00
|
|
|
import {
|
|
|
|
|
get,
|
|
|
|
|
post
|
|
|
|
|
} from '@/utils/request.js'
|
|
|
|
|
|
2026-06-10 14:17:54 +08:00
|
|
|
/**
|
|
|
|
|
* 登录接口
|
|
|
|
|
*/
|
|
|
|
|
export const reqLogin = (data) => post('user/postLoginOn', data)
|
2026-06-09 19:29:04 +08:00
|
|
|
|
2026-06-10 14:17:54 +08:00
|
|
|
/**
|
|
|
|
|
* 请求控制权限
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
export const reqMenuPowerList = (userId,projectId)=>get(`User/getMenuPowerList?userId=${userId}&projectId=${projectId}`)
|