Commit 2f40c610 by 杨树贤

修改变量名

parent 197aed22
......@@ -73,8 +73,8 @@ class Integral extends Model
//处理列表,把不同红包活动今天已使用次数显示出来
foreach ($integrals as $key => $integral) {
$addCount = $redis->hget('ic_welfare_integral_limit_' . $integral['id'], $userId);
$integrals[$key]['operated_count'] = empty($addCount) ? 0 : (int)$addCount;
$operatedCount = $redis->hget('ic_welfare_integral_limit_' . $integral['id'], $userId);
$integrals[$key]['operated_count'] = empty($operatedCount) ? 0 : (int)$operatedCount;
}
if ($integrals) {
......
2364
\ No newline at end of file
9913
\ No newline at end of file
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