class ShopApi {
  ///---------------------post
  /// [size]分页数量
  /// [current] 第几页
  /// [categoryId] 分类id
  /// [nameLike] 商品名称
  static const String shopList = '/app/product/page'; // 商品列表

  /// [showStatus]1=显示 [nameLike]分类名称 [level]1
  static const String shopCategory = '/app/product/category/tree'; // 商品分类
  /// []
  static const String shopSwiperList = '/app/article/carousel'; // 商品首页轮播图

  ///---------------------get
  /// [url参数/id]
  static const String shopDetail = '/app/product'; // 商品详情

  // 创建商品订单
  static const String createGoodsOrder = '/app/order/add';

  // 订单详情接口
  static const String goodsOrderDetail = '/app/order';

   // 查询订单状态
  static const String goodsOrderStatus= '/trans/easypay/paymentQuery';

   // 取消订单
  static const String cancelGoodsOrder= '/app/order/cancel';

  // app端我的订单
  static const String myOrderList= '/app/order/page';

  // app商家订单
  static const String sellerOrderList= '/app/merchant/order/page';

  // 商家营收摘要
  static const String revenueInfo= '/app/merchant/account/statistic';

  // 商家营收分页
  static const String revenueList= '/app/merchant/account/bill/page';

  // 根据核销码查询详情
  static const String getWriteOffDetail= '/app/merchant/order/scan';

  // 确认核销
  static const String confirmWriteOff= '/app/merchant/order/verify';

  // 绑定推广码
  static const String bindSpreadCodeId= '/app/member/bind/spread';
}
