2025-08-21 10:50:38 +08:00
|
|
|
class ShopApi {
|
|
|
|
///---------------------post
|
|
|
|
/// [size]分页数量
|
|
|
|
/// [current] 第几页
|
|
|
|
/// [categoryId] 分类id
|
|
|
|
/// [nameLike] 商品名称
|
|
|
|
static const String shopList = '/app/product/page'; // 商品列表
|
|
|
|
|
2025-08-26 17:38:59 +08:00
|
|
|
/// [showStatus]1=显示 [nameLike]分类名称 [level]1
|
|
|
|
static const String shopCategory = '/app/product/category/tree'; // 商品分类
|
2025-08-21 10:50:38 +08:00
|
|
|
/// []
|
|
|
|
static const String shopSwiperList = '/app/article/carousel'; // 商品首页轮播图
|
|
|
|
|
|
|
|
///---------------------get
|
|
|
|
/// [url参数/id]
|
|
|
|
static const String shopDetail = '/app/product'; // 商品详情
|
2025-09-01 18:18:26 +08:00
|
|
|
|
|
|
|
// 创建商品订单
|
2025-09-03 10:54:08 +08:00
|
|
|
static const String createGoodsOrder = '/app/order/add';
|
2025-09-01 18:18:26 +08:00
|
|
|
|
|
|
|
// 订单详情接口
|
2025-09-03 10:54:08 +08:00
|
|
|
static const String goodsOrderDetail = '/app/order';
|
2025-09-01 18:18:26 +08:00
|
|
|
|
2025-09-04 18:08:01 +08:00
|
|
|
// 查询订单状态
|
|
|
|
static const String goodsOrderStatus= '/trans/easypay/paymentQuery';
|
|
|
|
|
2025-09-05 10:55:38 +08:00
|
|
|
// 取消订单
|
|
|
|
static const String cancelGoodsOrder= '/app/order/cancel';
|
|
|
|
|
2025-09-11 16:42:35 +08:00
|
|
|
// app端我的订单
|
|
|
|
static const String myOrderList= '/oms/order/list';
|
|
|
|
|
|
|
|
// 商家营收摘要
|
|
|
|
static const String revenueInfo= '/app/merchant/account/statistic';
|
|
|
|
|
|
|
|
// 商家营收分页
|
|
|
|
static const String revenueList= '/app/merchant/account/bill/page';
|
|
|
|
|
2025-08-21 10:50:38 +08:00
|
|
|
}
|