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.
25 lines
397 B
25 lines
397 B
2 months ago
|
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/page`,
|
||
|
method: 'GET',
|
||
|
params
|
||
|
})
|
||
|
}
|