Browse Source

Merge branch 'kuaiyingyong' of iqiyoo:zhuishuyun_wap into zhucj

zhuchengjie 3 years ago
parent
commit
a035a3f92b

+ 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

@@ -75,7 +75,7 @@ class SignService
         $sign_data = [
             'uid' => $this->uid,
             'price' => $reward,
-            'day' => $sign_day,
+            'day' => date('Y-m-d'),
             'sign_time' => time(),
             'created_at' => date('Y-m-d H:i:s'),
             'updated_at' => date('Y-m-d H:i:s')