|
@@ -2,8 +2,8 @@ import { defHttp } from '/@/utils/http/axios';
|
|
|
import { PageParams, CorporationListGetResultModel } from './model';
|
|
|
|
|
|
enum Api {
|
|
|
- selectCompanyNum = '/zfb/company/selectCompanyNum',
|
|
|
- selectCompanyByType = '/zfb/company/selectCompanyByType',
|
|
|
+ selectCompanyNum = '/zfb-api/zfb/company/selectCompanyNum',
|
|
|
+ selectCompanyByType = '/zfb-api/zfb/company/selectCompanyByType',
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -11,7 +11,7 @@ enum Api {
|
|
|
*/
|
|
|
|
|
|
export const ListApi = (params: PageParams) =>
|
|
|
- defHttp.get<CorporationListGetResultModel>({
|
|
|
+ defHttp.post<CorporationListGetResultModel>({
|
|
|
url: Api.selectCompanyNum,
|
|
|
params,
|
|
|
headers: {
|
|
@@ -20,7 +20,7 @@ export const ListApi = (params: PageParams) =>
|
|
|
},
|
|
|
});
|
|
|
export const ListVerifyApi = (params: PageParams) =>
|
|
|
- defHttp.get<CorporationListGetResultModel>({
|
|
|
+ defHttp.post<CorporationListGetResultModel>({
|
|
|
url: Api.selectCompanyByType,
|
|
|
params,
|
|
|
headers: {
|