You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
586 B
36 lines
586 B
import request from '@/utils/request' |
|
|
|
/** |
|
* 创建企业 |
|
* @param {Object} data |
|
*/ |
|
export function createEnterPrise(data) { |
|
return request({ |
|
url: `/system/enterprise/create`, |
|
method: 'POST', |
|
data |
|
}) |
|
} |
|
|
|
/** |
|
* 获取企业列表 |
|
* @param {Object} params |
|
*/ |
|
export function getEnterPriseList(params) { |
|
return request({ |
|
url: `/system/enterprise/getEnterpriseByUserId`, |
|
method: 'GET', |
|
params |
|
}) |
|
} |
|
|
|
/** |
|
* 获取企业详情 |
|
* @param {Object} id |
|
*/ |
|
export function getEnterPrise(id) { |
|
return request({ |
|
url: `/system/enterprise/get?id=${id}`, |
|
method: 'GET', |
|
}) |
|
} |