消费统计排序
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
* @Author: kangkang
|
* @Author: kangkang
|
||||||
* @Date: 2020-10-13 19:52:37
|
* @Date: 2020-10-13 19:52:37
|
||||||
* @LastEditors: Please set LastEditors
|
* @LastEditors: Please set LastEditors
|
||||||
* @LastEditTime: 2020-11-26 16:56:26
|
* @LastEditTime: 2020-11-28 16:20:54
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace app\manager\controller;
|
namespace app\manager\controller;
|
||||||
@@ -209,7 +209,9 @@ class UserFollow extends Controller
|
|||||||
}
|
}
|
||||||
foreach ($account_expire as $info) {
|
foreach ($account_expire as $info) {
|
||||||
$list[$info['UserId']]['account_expire'] = $info['used_count'];
|
$list[$info['UserId']]['account_expire'] = $info['used_count'];
|
||||||
$list[$info['UserId']]['account_count'] = $info['used_count'] + $list[$info['UserId']]['account_used'];
|
}
|
||||||
|
foreach ($user_id_list as $user_account_id){
|
||||||
|
$list[$user_account_id]['account_count'] = $list[$user_account_id]['account_used'] + $list[$user_account_id]['account_expire'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($search['sortLable'])) {
|
if (!empty($search['sortLable'])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user