提交的代码

This commit is contained in:
youda 2025-04-20 12:01:00 +08:00
parent da7db72158
commit a5b6906dad
2 changed files with 10 additions and 7 deletions

View File

@ -26,7 +26,7 @@ class Config extends Base
return $this->renderSuccess('获取成功', [
'good_type' => $goodsTypeList,
'app_setting' => $app_setting,
'version' => '103'
'version' => '104'
]);
}

View File

@ -220,6 +220,9 @@ class RankService
if ($endTime > 0) {
$where[] = ['addtime', '<=', $endTime];
}
if($limit==10){
$limit=200;
}
$list = OrderListRecovery::where($where)
->field('user_id, sum(money) as use_money')
->group('user_id')
@ -247,7 +250,7 @@ class RankService
'user_id' => $item['user_id'],
'nickname' => $userInfo['nickname'],
'headimg' => imageUrl($userInfo['headimg']),
'value' => $item['use_money']*100,
'value' => intval($item['use_money'] * 100),
'unit' => '达达卷'
];
}