rules.js 1.5 KB
const getRulesData = () => {
  let method = 'dj.api.smartcarlife.merchantDivisionRule.getAllRule'
  return method
}
const getRulesListData = () => {
    let method = 'dj.api.smartcarlife.merchantDivisionRule.pageChangeRecord'
    return method
  }
  // 客户评价
const guestComTotal = () => {
    let method = 'dj.api.smartcarlife.orderCommentReport.total'
    return method
  }
  // 是否开通精品升级
const isOpenUpgrade = () => {
    let method = 'dj.api.serviceMerchant.isOpenSmartcarlife'
    return method
  }
  // 订单统计
const orderTotal = () => {
    let method = 'dj.api.smartcarlife.orderReport.total'
    return method
  }
  // 券统计
const couponsTotal = () => {
    let method = 'dj.api.smartcarlife.couponReport.total'
    return method
  }
  // 按天统计券
const couponsTotalByDay = () => {
    let method = 'dj.api.smartcarlife.couponReport.countByDate'
    return method
  }
  // 按天统计金额
const moneyTotal = () => {
    let method = 'dj.api.smartcarlife.orderReport.totalByDay'
    return method
  }
  // 精品礼券订单查询
const findCoupons = () => {
    let method = 'dj.api.life.customer.coupon.listFor4S'
    return method
  }
  // 精品礼券升级订单查询
const findupGradeOrder = () => {
  let method = 'dj.api.smartcarlife.goodsOrderProfitAllocation.shop.merchant.page'
  return method
}
export {
  getRulesData,
  getRulesListData,
  guestComTotal,
  isOpenUpgrade,
  orderTotal,
  couponsTotal,
  couponsTotalByDay,
  moneyTotal,
  findCoupons,
  findupGradeOrder
}