瀏覽代碼

壓測調整

kyle 3 年之前
父節點
當前提交
b8ad7338ab
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      app/Http/Controllers/Web/Api2021Controller.php

+ 2
- 2
app/Http/Controllers/Web/Api2021Controller.php 查看文件

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