Ver código fonte

小遊戲復活

kyle 2 anos atrás
pai
commit
fd13dc0cd7
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      app/Http/Controllers/Web/Api2021Controller.php

+ 2
- 2
app/Http/Controllers/Web/Api2021Controller.php Ver arquivo

223
 //        ]);
223
 //        ]);
224
 
224
 
225
         // 業務驗證(是否加入LINE帳號的好友) [不存在 cookie 的時候就要進直通查詢,造成每天只要最多一次查詢就好]
225
         // 業務驗證(是否加入LINE帳號的好友) [不存在 cookie 的時候就要進直通查詢,造成每天只要最多一次查詢就好]
226
-//        if (!Cookie::get('gamecc')) {
227
-        if (false) { // testonly
226
+        if (!Cookie::get('gamecc')) {
227
+//        if (false) { // testonly
228
 //        if (!$this->aSv->isAuthUserExists($lineId)) { // 用資料庫檢查
228
 //        if (!$this->aSv->isAuthUserExists($lineId)) { // 用資料庫檢查
229
             if (!$this->aSv->lineFriendCheck($lineId)) {
229
             if (!$this->aSv->lineFriendCheck($lineId)) {
230
                 $this->sisLog['memoIn'] = json_encode(['error' => 'logical'], JSON_UNESCAPED_UNICODE);
230
                 $this->sisLog['memoIn'] = json_encode(['error' => 'logical'], JSON_UNESCAPED_UNICODE);