代码生成

This commit is contained in:
‘huanghaiixia’
2026-03-03 17:48:45 +08:00
parent 207f8cc311
commit 90fd1c6f98
42 changed files with 9399 additions and 0 deletions

View File

@ -0,0 +1,90 @@
import { LngPriceSalesPngAppPageModel, LngPriceSalesPngAppPageParams, LngPriceSalesPngAppPageResult } from './model/PriceSalesPngAppModel';
import { defHttp } from '/@/utils/http/axios';
import { ErrorMessageMode } from '/#/axios';
enum Api {
Page = '/price/priceSalesPngApp/page',
List = '/price/priceSalesPngApp/list',
Info = '/price/priceSalesPngApp/info',
LngPriceSalesPngApp = '/price/priceSalesPngApp',
DataLog = '/price/priceSalesPngApp/datalog',
}
/**
* @description: 查询LngPriceSalesPngApp分页列表
*/
export async function getLngPriceSalesPngAppPage(params: LngPriceSalesPngAppPageParams, mode: ErrorMessageMode = 'modal') {
return defHttp.get<LngPriceSalesPngAppPageResult>(
{
url: Api.Page,
params,
},
{
errorMessageMode: mode,
},
);
}
/**
* @description: 获取LngPriceSalesPngApp信息
*/
export async function getLngPriceSalesPngApp(id: String, mode: ErrorMessageMode = 'modal') {
return defHttp.get<LngPriceSalesPngAppPageModel>(
{
url: Api.Info,
params: { id },
},
{
errorMessageMode: mode,
},
);
}
/**
* @description: 新增LngPriceSalesPngApp
*/
export async function addLngPriceSalesPngApp(lngPriceSalesPngApp: Recordable, mode: ErrorMessageMode = 'modal') {
return defHttp.post<boolean>(
{
url: Api.LngPriceSalesPngApp,
params: lngPriceSalesPngApp,
},
{
errorMessageMode: mode,
},
);
}
/**
* @description: 更新LngPriceSalesPngApp
*/
export async function updateLngPriceSalesPngApp(lngPriceSalesPngApp: Recordable, mode: ErrorMessageMode = 'modal') {
return defHttp.put<boolean>(
{
url: Api.LngPriceSalesPngApp,
params: lngPriceSalesPngApp,
},
{
errorMessageMode: mode,
},
);
}
/**
* @description: 删除LngPriceSalesPngApp批量删除
*/
export async function deleteLngPriceSalesPngApp(ids: string[], mode: ErrorMessageMode = 'modal') {
return defHttp.delete<boolean>(
{
url: Api.LngPriceSalesPngApp,
data: ids,
},
{
errorMessageMode: mode,
},
);
}