up.
This commit is contained in:
parent
84b8064f81
commit
ac4beb73ed
@ -7,7 +7,7 @@ import type { Product, ProductParam } from './model';
|
|||||||
*/
|
*/
|
||||||
export async function pageProducts(params: ProductParam) {
|
export async function pageProducts(params: ProductParam) {
|
||||||
const res = await request.get<ApiResult<PageResult<Product>>>(
|
const res = await request.get<ApiResult<PageResult<Product>>>(
|
||||||
'/xm/products/page',
|
'/xm/product/page',
|
||||||
{ params }
|
{ params }
|
||||||
);
|
);
|
||||||
if (res.data.code === 0) {
|
if (res.data.code === 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user