123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- import { axios } from '@/utils/request'
- // 提现列表 有分页
- export const queryMerchantCashOutPage = (params) => {
- const url = `/merchant/queryMerchantCashOutPage/${params.pageNo}/${params.pageSize}`
- delete params.pageNo
- delete params.pageSize
- return axios({
- url: url,
- data: params,
- method: 'post',
- headers: {
- 'module': encodeURIComponent('列表查询')
- }
- })
- }
- // 申请提现
- export const saveMerchantCashOut = (params) => {
- return axios({
- url: '/merchant/saveMerchantCashOut',
- data: params,
- method: 'post',
- headers: {
- 'module': encodeURIComponent('申请提现')
- }
- })
- }
- // 账户明细 暂时弃用
- export const queryTradeFlowPage = (params) => {
- const url = `/merchant/queryTradeFlowPage/${params.pageNo}/${params.pageSize}`
- delete params.pageNo
- delete params.pageSize
- return axios({
- url: url,
- data: params,
- method: 'post',
- headers: {
- 'module': encodeURIComponent('账户明细列表')
- }
- })
- }
- export const merchantCashOut = params => {
- return axios({
- url: `/shelf/findShelfSettleRuleByShelfSn/${params.shelfSn}`,
- method: 'get'
- })
- }
- export const merchantCashOutDetail = (params) => {
- return axios({
- url: '/merchant/queryMerchantAccount',
- data: {},
- method: 'get'
- })
- }
- // 结算管理列表
- export const queryShelfSettleRulePage = (params) => {
- const url = `/merchant/queryShelfSettleRulePage/${params.pageNo}/${params.pageSize}`
- delete params.pageNo
- delete params.pageSize
- return axios({
- url: url,
- data: params,
- method: 'post',
- headers: {
- 'module': encodeURIComponent('列表查询')
- }
- })
- }
- // 结算管理合计
- export const queryShelfSettleRuleCount = (params) => {
- const url = `/merchant/queryShelfSettleRuleCount`
- return axios({
- url: url,
- data: params,
- method: 'post'
- })
- }
- // 结算历史列表
- export const querySettleBillPage = (params) => {
- const url = `/merchant/querySettleBillPage/${params.pageNo}/${params.pageSize}`
- delete params.pageNo
- delete params.pageSize
- return axios({
- url: url,
- data: params,
- method: 'post',
- headers: {
- 'module': encodeURIComponent('明细列表')
- }
- })
- }
- // 待结明细列表
- export const queryOrderBillDetailPage = (params) => {
- const url = `/merchant/queryOrderBillDetailPage/${params.pageNo}/${params.pageSize}`
- delete params.pageNo
- delete params.pageSize
- return axios({
- url: url,
- data: params,
- method: 'post',
- headers: {
- 'module': encodeURIComponent('明细列表')
- }
- })
- }
- // 待结明细合计
- export const queryOrderBillDetailCount = (params) => {
- const url = `/merchant/queryOrderBillDetailCount`
- return axios({
- url: url,
- data: params,
- method: 'post'
- })
- }
|