新增:批量导入商品功能

This commit is contained in:
2025-12-30 17:18:20 +08:00
parent a6cd0c3d52
commit f4e6705f3f
791 changed files with 24581 additions and 13909 deletions

View File

@@ -6,7 +6,9 @@ import { THINK_API_URL } from '@/config/setting';
/**
* 分页查询
*/
export async function pageThinkGoodsOrderInfo(params: ThinkGoodsOrderInfoParam) {
export async function pageThinkGoodsOrderInfo(
params: ThinkGoodsOrderInfoParam
) {
const res = await request.get<ApiResult<PageResult<ThinkGoodsOrderInfo>>>(
THINK_API_URL + '/think/think-goods-order-info/page',
{
@@ -22,7 +24,9 @@ export async function pageThinkGoodsOrderInfo(params: ThinkGoodsOrderInfoParam)
/**
* 查询列表
*/
export async function listThinkGoodsOrderInfo(params?: ThinkGoodsOrderInfoParam) {
export async function listThinkGoodsOrderInfo(
params?: ThinkGoodsOrderInfoParam
) {
const res = await request.get<ApiResult<ThinkGoodsOrderInfo[]>>(
THINK_API_URL + '/think/think-goods-order-info',
{
@@ -79,7 +83,9 @@ export async function removeThinkGoodsOrderInfo(id?: number) {
/**
* 批量删除
*/
export async function removeBatchThinkGoodsOrderInfo(data: (number | undefined)[]) {
export async function removeBatchThinkGoodsOrderInfo(
data: (number | undefined)[]
) {
const res = await request.delete<ApiResult<unknown>>(
THINK_API_URL + '/think/think-goods-order-info/batch',
{