|
|
|
@ -13,7 +13,7 @@ enum Api {
@@ -13,7 +13,7 @@ enum Api {
|
|
|
|
|
|
|
|
|
|
export const listGencodeCustomObj = (params?: Partial<GencodeCustomObjParams>) => defHttp.get<GencodeCustomObjResult>({ url: Api.list, params }, { isReturnResultResponse: true }); |
|
|
|
|
|
|
|
|
|
export const selectListByValue = (type: string) => defHttp.get<GencodeCustomObj[]>({ url: `${Api.selectListByValue}/${type}` }); |
|
|
|
|
export const selectListByValue = (value: string) => defHttp.get<GencodeCustomObj[]>({ url: Api.selectListByValue, params: { value } }); |
|
|
|
|
|
|
|
|
|
export const addGencodeCustomObj = (params: Partial<GencodeCustomObj>) => defHttp.post({ url: Api.add, data: params }); |
|
|
|
|
|
|
|
|
|