Browse Source

[小遊戲]可以一天內不斷玩遊戲的測試帳號

kyle 2 years ago
parent
commit
3463ae50a6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/Http/Controllers/Web/Api2021Controller.php

+ 1
- 1
app/Http/Controllers/Web/Api2021Controller.php View File

@@ -308,7 +308,7 @@ class Api2021Controller extends Controller
308 308
         // 業務驗證(是否今日已玩過遊戲與簽到)
309 309
 //        if (false) { // testonly for 壓測
310 310
 //        if ($lineId != 'Ud2534d6e1eed9cee2c919a993443352b') {
311
-        if ($lineId == $this->settingManagementSv->getSetting()['GAME_TESTING_LINE_ID']) {
311
+        if ($lineId != $this->settingManagementSv->getSetting()['GAME_TESTING_LINE_ID']) {
312 312
             if (!$this->aSv->canPlay($lineId)) {
313 313
                 $this->sisLog['memoIn'] = json_encode(['error' => 'logical'], JSON_UNESCAPED_UNICODE);
314 314
                 $this->sisLog['memoOut'] = json_encode(['msg' => '今日已玩過遊戲或者活動結束'], JSON_UNESCAPED_UNICODE);