// 查询数字资产列表
export const digitAssetsList = {
  url: '/payMode/digitAssetsList',
  method: 'GET'
}
// 查询支付方式
export const queryPayMode = {
  url: '/payMode/queryPayMode',
  method: 'GET'
}
// 新增收付款方式
export const digitAdd = {
  url: '/payMode/add',
  method: 'POST',
  dealReqData: (pDTOs) => {
    return pDTOs
  }
}
// 商户流水 资产类型
export const assetsType = {
  url: '/merchantAssetsFlow/assetsType',
  method: 'GET'
}
// 分页查询-商户流水
export const merchantAssetsFlowList = {
  url: '/merchantAssetsFlow/page',
  method: 'GET'
}
// 用户流水 资产类型
export const userType = {
  url: '/userAssetRecord/assetsType',
  method: 'GET'
}
// 分页查询-用户流水
export const userAssetRecordList = {
  url: '/userAssetRecord/page',
  method: 'GET'
}

// 商户资产类型
export const merchantAssetsType = {
  url: '/merchantAssets/assetsType',
  method: 'GET'
}

// 商户资产列表
export const merchantAssetsPage = {
  url: '/merchantAssets/page',
  method: 'GET'
}

// 商户资产列表
export const merchantinfoquerybyadminId = {
  url: '/merchantApply/merchantinfoquerybyadminId',
  method: 'GET'
}

// 用户资产类型
export const userAssetsType = {
  url: '/userAsset/assetsType',
  method: 'GET'
}

// 用户资产列表
export const userAssetsPage = {
  url: '/userAsset/page',
  method: 'GET'
}

// 充值用户资产

export const rechargeUser = {
  url: '/userAsset/recharge',
  method: 'POST'
}

// 扣除积分
export const deductionUser = {
  url: '/userAsset/deduction',
  method: 'POST'
}

// 平台基础积分详情

// 平台流水 资产类型
export const platType = {
  url: '/platformAssetsFlow/assetsType',
  method: 'GET'
}
// 分页查询-平台流水
export const platAssetRecordList = {
  url: '/platformAssetsFlow/page',
  method: 'GET'
}
// 收益记录-列表查询
export const profitRecordList = {
  url: '/profitRecord/list',
  method: 'GET'
}
// 商户积分详情
export const merchantIntegralDetail = {
  url: '/integralManage/merchantIntegralDetail',
  method: 'GET'
}
// 平台基础积分详情
export const platformBaseIntegralDetail = {
  url: '/integralManage/platformBaseIntegralDetail',
  method: 'GET'
}

// 分页查询 系统积分列表
export const getIntegralManageList = {
  url: '/integralManage/page',
  method: 'GET'
}

// 设置积分兑换比例
export const setIntegralRatio = {
  url: '/integralManage/setRatio',
  method: 'PUT'
}

// 设置平台积分价格
export const setPlatformIntegralPrice = {
  url: '/integralManage/setPlatFormIntegralPrice',
  method: 'POST'
}

// 平台积分转账单个

export const transSinglePlatform = {
  url: '/integralManage/platFormTransSingle',
  method: 'POST',
  dealReqData: ({ amount, phone, type }) => {
    return { amount, phone, type }
  }
}
// 发行商户积分
export const issueMerchantIntegral = {
  url: '/integralManage/issueMerchantIntegral',
  method: 'POST',
  dealReqData: (dto) => {
    return dto
  }
}
// 商户积分转账-单个
export const merchantTransSingle = {
  url: '/integralManage/merchantTransSingle',
  method: 'POST',
  dealReqData: (dto) => {
    return dto
  }
}
// 商户平台积分转账-单个
export const merchantBaseTransSingle = {
  url: 'integralManage/merchantBaseTransSingle',
  method: 'POST',
  dealReqData: (dto) => {
    return dto
  }
}

// 积分启用禁用
export const integralManageDisable = {
  url: '/integralManage/disable',
  method: 'PUT'
}

// 积分审核
export const integralManageCheck = {
  url: '/integralManage/check',
  method: 'PUT'
}

// 增发积分
export const addPlatFormIntegral = {
  url: '/integralManage/addPlatFormIntegral',
  method: 'POST'
}

// 回收积分

export const recoverPlatFormIntegral = {
  url: '/integralManage/recoverPlatFormIntegral',
  method: 'POST'

}
// 下载批量转账模板

export const downloadexcel = {
  url: '/integralManage/downloadexcel',
  method: 'GET'

}
// 商户批量转账
export const merchantTransBatch = {
  url: '/integralManage/merchantTransBatch',
  method: 'GET',
  dealReqData: ({ path }) => {
    return { path }
  }
}
// 商户_平台批量转账
export const merchantBaseTransBatch = {
  url: '/integralManage/merchantBaseTransBatch',
  method: 'GET',
  dealReqData: ({ path }) => {
    return { path }
  }
}
// 平台批量转账

export const integralPlatformTransBatch = {
  url: '/integralManage/platFormTransBatch',
  method: 'POST',
  dealReqData: ({ path, type }) => {
    return { path, type }
  }
}
