Browse Source

no message

sys 1 year ago
parent
commit
2d9a4b558b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      api/my.js
  2. 1 1
      pages/wallet/model/income.vue

+ 1 - 1
api/my.js

@@ -12,7 +12,7 @@ export const getPayChannel = (data) => request(goodsUrl + 'myself/payChannel', '
 //J币流水
 //J币流水
 export const getCashFlowHistoryPage = (data) => request(goodsUrl + 'myself/getCashFlowHistoryPage', 'post', data)
 export const getCashFlowHistoryPage = (data) => request(goodsUrl + 'myself/getCashFlowHistoryPage', 'post', data)
 //每日收益
 //每日收益
-export const getDailyEarnings = (data) => request(goodsUrl + 'myself/getDailyEarnings', 'post', data)
+export const getDailyEarnings = (data) => request(goodsUrl + 'myself/getDailyEarnings', 'get', data)
 //黑名单列表
 //黑名单列表
 export const getBlackList = (data) => request(goodsUrl + 'myself/blacklist', 'post', data)
 export const getBlackList = (data) => request(goodsUrl + 'myself/blacklist', 'post', data)
 export const delBlackItem = (data) => request(goodsUrl + 'myself/blacklist/'+data, 'delete', {})
 export const delBlackItem = (data) => request(goodsUrl + 'myself/blacklist/'+data, 'delete', {})

+ 1 - 1
pages/wallet/model/income.vue

@@ -50,7 +50,7 @@
         }
         }
         this.isAjax=true
         this.isAjax=true
         let that=this
         let that=this
-        getDailyEarnings({'pageNo':this.page,'pageSize':20,'month':this.date,'type':'OP_IN'}).then((res)=>{
+        getDailyEarnings({'pageNo':this.page,'pageSize':20,'month':this.date}).then((res)=>{
           this.isAjax=false
           this.isAjax=false
           if(res.code===0){
           if(res.code===0){
             res.data.data.forEach((item)=>{
             res.data.data.forEach((item)=>{