浏览代码

special log

zz 3 年之前
父节点
当前提交
978a1af59e

+ 4 - 0
app/Http/Controllers/QuickApp/Book/ChapterController.php

@@ -327,6 +327,10 @@ class ChapterController extends BaseController
                     }
                 }
             }
+            if($this->uid == 247081369){
+                $item = itemTransform(new ChapterTransformer, $this->getChapter($bid, $cid, $chapter));
+                myLog('xueqi')->info($item);
+            }
             return response()->item(new ChapterTransformer, $this->getChapter($bid, $cid, $chapter));
         } else {
             if ($book_info->charge_type == 'BOOK') {

+ 1 - 1
app/Modules/User/Services/SignService.php

@@ -36,7 +36,7 @@ class SignService
         if (!$date || $date != date('Y-m-d')) {
             $reward = $this->getRewardCoin($sign_day);
             $this->saveReward($reward);
-            $this->saveRewardInfoInRedis($reward, $sign_day);
+            $this->saveRewardInfoInRedis($reward, date('Y-m-d'));
             $this->addSignDay();
         }
     }