123456789101112131415161718192021222324252627282930313233343536373839404142 |
- // @ts-ignore
- /* eslint-disable */
- // 该文件自动生成,请勿手动修改!
- import { defHttp } from '/@/utils/http/axios';
- import { ErrorMessageMode } from '/#/axios';
- // --------------------------------------------------------------------------
- // Textbook Warehouse Record Controller
- // --------------------------------------------------------------------------
- ;
- /** 修改教材入库 PUT /textbook/textbookWarehouseRecord */
- export async function putTextbookTextbookWarehouseRecord(params:API.UpdateTextbookWarehouseRecordDto
- ,mode: ErrorMessageMode = 'modal'){ return defHttp.put<any>
- ({url: '/textbook/textbookWarehouseRecord', data:params},{errorMessageMode:mode});}
- /** 删除教材入库 DELETE /textbook/textbookWarehouseRecord */
- export async function deleteTextbookTextbookWarehouseRecord(params:string[],mode: ErrorMessageMode = 'modal'){ return defHttp.delete<any>
- ({url: '/textbook/textbookWarehouseRecord', data:params},{errorMessageMode:mode});}
- /** 导出 GET /textbook/textbookWarehouseRecord/export */
- export async function getTextbookWarehouseRecordExport(params:any,mode: ErrorMessageMode = 'modal'){ return defHttp.download<any>
- ({url: '/textbook/textbookWarehouseRecord/export',responseType:'blob', params:params},{errorMessageMode:mode});}
- /** 指定导出 POST /textbook/textbookWarehouseRecord/export-query */
- export async function postTextbookWarehouseRecordExportQuery(params:API.TextbookWarehouseRecordExportDto
- ,mode: ErrorMessageMode = 'modal'){ return defHttp.download<string>
- ({url: '/textbook/textbookWarehouseRecord/export-query',responseType:'blob',method:'POST', data:params},{errorMessageMode:mode});}
- /** 根据id查询教材入库信息 GET /textbook/textbookWarehouseRecord/info */
- export async function getTextbookWarehouseRecordInfo(params:any,mode: ErrorMessageMode = 'modal'){ return defHttp.get<API.TextbookWarehouseRecordVo>
- ({url: '/textbook/textbookWarehouseRecord/info', params:params},{errorMessageMode:mode});}
- /** 教材入库列表(分页) GET /textbook/textbookWarehouseRecord/page */
- export async function getTextbookWarehouseRecordPage(params:any,mode: ErrorMessageMode = 'modal'){ return defHttp.get<API.PageOutput<API.TextbookWarehouseRecordPageVo>>
- ({url: '/textbook/textbookWarehouseRecord/page', params:params},{errorMessageMode:mode});}
- /** 教材入库页面教材入库 POST /textbook/textbookWarehouseRecord/textbook-warehouse */
- export async function postTextbookWarehouseRecordTextbookWarehouse(params:API.AddTextbookWarehouseRecordDto
- ,mode: ErrorMessageMode = 'modal'){ return defHttp.post<any>
- ({url: '/textbook/textbookWarehouseRecord/textbook-warehouse', data:params},{errorMessageMode:mode});}
- /** 修改入库后的折扣 POST /textbook/textbookWarehouseRecord/update-discount */
- export async function postTextbookWarehouseRecordUpdateDiscount(params:API.UpdateDiscountDto
- ,mode: ErrorMessageMode = 'modal'){ return defHttp.post<any>
- ({url: '/textbook/textbookWarehouseRecord/update-discount', data:params},{errorMessageMode:mode});}
-
|