let upoint = '/mroapi/upoint';
let admin = '/mroapi/admin';

const apiObj = {
  // -- 制服积分 --
  
  // 校验折现
  'discount-checkDiscount': `${upoint}/discount/checkDiscount`,
  // 校验复核
  'review-checkReview': `${upoint}/review/checkReview`,
  // 单位
  'review-unit_type': `${admin}/dict/type/unit_type`,
  // 类别
  'review-category_type': `${admin}/dict/type/category_type`,

  // 获取用户信息
  'user-selectUserInfo': `${upoint}/user/selectUserInfo`,
  // 申请积分
  'review-applyIntefralReview': `${upoint}/review/applyIntefralReview`,
  // 查询折现时间
  'rule-selectExchangeAndDiscountRule': `${upoint}/rule/selectExchangeAndDiscountRule`,
  // 申请折现
  'discount-applyDiscount': `${upoint}/discount/applyDiscount`,
  // 积分规则
  'ruleDesc-selectRuleDesc': `${upoint}/ruleDesc/selectRuleDesc`,

  // - 物资列表
  // 查询用户能够兑换的物资 list
  'exchange-selectExchageMaterial': `${upoint}/exchange/selectExchageMaterial`,
  // 兑换
  'exchange-materials': `${upoint}/exchange/exchangeMaterialDirect`,
  // 判断是否积分够 积分校验
  'integration-sufficient': `${upoint}/exchange/checkMaterialExchangeForApp`,
  // 积分校验（通过购物车兑换)
  'integration-checkMaterialExchange': `${upoint}/exchange/checkMaterialExchange`,
  
  // 加入购物车
  'shoppingCart-addShoppingCart': `${upoint}/shoppingCart/addShoppingCart`,
  // 查询购物车
  'shoppingCart-queryShoppingCart': `${upoint}/shoppingCart/queryShoppingCart`,
  // 更新购物车
  'shoppingCart-updateShoppingCart': `${upoint}/shoppingCart/updateShoppingCart`,
  // 删除购物车 单条
  'shoppingCart-deleteShoppingCart': `${upoint}/shoppingCart/deleteShoppingCart`,
  // 清空购物车
  'shoppingCart-deleteAllShoppingCart': `${upoint}/shoppingCart/deleteAllShoppingCart`,
  // 提交兑换物资
  'exchange-exchangeMaterial': `${upoint}/exchange/exchangeMaterial`,
  
  // - 兑换记录 year：2022
  'exchange-selectExchangeForApp': `${upoint}/exchange/selectExchangeForApp`,
  // 用户确认收货 {"id":"1256353245"}
  'exchange-confirmReceipt': `${upoint}/exchange/confirmReceipt`,

  // - 积分明细 year：2022
  'user-selectOneMaterialForApp': `${upoint}/user/selectOneMaterialForApp`,

  // - 复核记录 year：2022
  'review-selectReviewForApp': `${upoint}/review/selectReviewForApp`,
  // 撤销复核申请 {"id":"1256353245"}
  'review-revokeReviewBusiness': `${upoint}/review/revokeReviewBusiness`
}
export default apiObj
