Commit c038e1f2 by 杨树贤

修改字段

parent 5b1b1964
Showing with 1 additions and 1 deletions
......@@ -74,7 +74,7 @@ class Integral extends Model
//处理列表,把不同红包活动今天已使用次数显示出来
foreach ($integrals as $key => $integral) {
$addCount = $redis->hget('ic_welfare_integral_limit_' . $integral['id'], $userId);
$integrals[$key]['add_count'] = empty($addCount) ? 0 : (int)$addCount;
$integrals[$key]['operated_count'] = empty($addCount) ? 0 : (int)$addCount;
}
if ($integrals) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment