Commit e0f7caae by 叶明星

多加一个字

parent 122c913a
Showing with 1 additions and 1 deletions
......@@ -71,7 +71,7 @@ class IntegralService
$redis = new RedisModel();
$hashKey = 'ic_check_in_' . date('Ymd');
$exists = $redis->hexists($hashKey, $map['user_id']);
$buttonText = $exists ? '已签到' : '签到';
$buttonText = $exists ? '已签到' : '签到';
$checkInStatus = $exists ? 1 : 0;
$result['data'][$key]['button_text'] = $buttonText;
$result['data'][$key]['check_in_status'] = $checkInStatus;
......
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