|
@@ -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();
|