shenqing
This commit is contained in:
@ -7,6 +7,12 @@ export async function getPage(params: any) {
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export async function getValidAgencyPage(params: any) {
|
||||
return request('/api/biz-service-ebtp-agency/api/agencies/find/valid', {
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export async function getDataById(id: any) {
|
||||
return request(`/api/biz-service-ebtp-agency/api/agencies/${id}`, {
|
||||
method: 'get',
|
||||
@ -23,6 +29,12 @@ export async function addAgency(params: any) {
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export async function applyAgency(params: any) {
|
||||
return request('/api/biz-service-ebtp-agency/api/agencies/apply', {
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export async function updateAgency(params: any) {
|
||||
return request('/api/biz-service-ebtp-agency/api/agencies/update', {
|
||||
method: 'post',
|
||||
|
Reference in New Issue
Block a user