新增:批量导入商品功能
This commit is contained in:
@@ -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',
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user