Browse Source

修改文件

柳建 9 months ago
parent
commit
9e00889ae9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Index.php

+ 1 - 1
application/api/controller/Index.php

@@ -27,7 +27,6 @@ class Index extends Api
     }
     //跟新收益
     public function upincome(){
-
         $recorddata=  $this->recordModel->field('sum(income) as income ,uid as id')->where(['status'=>0])->group('uid')->select();
         $temp=$userids=[];
         $returndata='1';
@@ -72,6 +71,7 @@ class Index extends Api
                 ->join(['fa_link'], 'fa_userlink.link_id = fa_link.id')
                 ->field("fa_link.link as link,
                             fa_link.id as link_id,
+                            fa_userlink.uid as uid,
                             fa_link.minincome as minincome,
                             fa_link.maxincome as maxincome
                     ")->where(['uid'=>['in', $userids]])->select();