export const apiArr = {
  goodsCateList: "/api/v2/wechat/commodity/cate",//商品分类列表
  getGoodsList: "/api/v2/wechat/commodity", //商品分类
  getGoodsInfo: "/api/v2/wechat/commodity/info", //商品详情
  getCar: "/api/v2/wechat/commodity/cart",//购物车
  getCarCount: "/api/v2/wechat/commodity/cart/all_count",//购物车数量
  addCar: "/api/v2/wechat/commodity/cart/add",//添加购物车
  deleteCar: "/api/v2/wechat/commodity/cart/delete",//删除购物车
  updateCar: "/api/v2/wechat/commodity/cart/update",//更新购物车信息
  getUserDefAddress: "/api/v2/wechat/commodity/receiving_address/get_default",//获取用户默认地址
  createOrder: "/api/v2/wechat/commodity/order/create",//创建商品订单
  payOrder: "/api/v2/wechat/commodity/order/pay",//支付订单
  settingDefaultAddress: '/api/v2/wechat/commodity/receiving_address/default', // 收货地址设置默认
  updateAddress: '/api/v2/wechat/commodity/receiving_address/update', // 收货地址修改
  deleteAddress: '/api/v2/wechat/commodity/receiving_address/delete', // 收货地址删除
  addAddress: '/api/v2/wechat/commodity/receiving_address/add', // 收货地址添加
  addAddressList: '/api/v2/wechat/commodity/receiving_address', // 收货地址列表
  queryOrder: '/api/v2/wechat/commodity/order/trade_query', // 查询订单
  splitLedger: '/api/v2/wechat/commodity/order/split-ledger', // 分账
  orderUpdate: '/api/v2/wechat/commodity/order/update', 
  getComment: '/api/v2/wechat/commodity/review/list', // 获取评论

  mergePreorder: '/api/v2/wechat/commodity/order/preorder', // 商品订单合并预下单

  goodsSearch: '/api/v2/wechat/commodity/search', // 商品搜索
  cancelPay: '/api/v2/wechat/commodity/order/cancel_pay', // 用户取消支付


  adverGoodsList: '/api/v2/wechat/commodity/adver-goods-list', // 广告货品列表
}