12345678910111213141516171819202122232425262728293031323334 |
- import {
- request
- } from '@/request/request.js';
- /*
- * 获取项目列表
- *
- */
- export function getProjectList() {
- return request({
- url: `/api/project/projectListIdentity`,
- method: 'get'
- })
- }
- /*
- * 获取项目详情
- *
- *
- */
- export function getProjectDetailById(id) {
- return request({
- url: `/api/project/getProject/${id}`,
- method: 'get'
- })
- }
- /*
- * 切换项目
- * @param null
- */
- export function selectProject(projectId) {
- return request({
- url: `/manager/userContext/project/${projectId}`,
- method: 'put',
- })
- }
|