瀏覽代碼

no message

sys 1 年之前
父節點
當前提交
2d9a4b558b
共有 2 個文件被更改,包括 2 次插入2 次删除
  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币流水
 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 delBlackItem = (data) => request(goodsUrl + 'myself/blacklist/'+data, 'delete', {})

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

@@ -50,7 +50,7 @@
         }
         this.isAjax=true
         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
           if(res.code===0){
             res.data.data.forEach((item)=>{