ソースを参照

小遊戲復活

kyle 2 年 前
コミット
0359a29f73
共有2 個のファイルを変更した5 個の追加5 個の削除を含む
  1. 4
    4
      app/Http/Controllers/Web/Api2021Controller.php
  2. 1
    1
      app/Http/Services/Web/Api2021Service.php

+ 4
- 4
app/Http/Controllers/Web/Api2021Controller.php ファイルの表示

@@ -206,10 +206,10 @@ class Api2021Controller extends Controller
206 206
 //        return response()->json(["succ" => true, "err" => '', "info" => []]);
207 207
 
208 208
         // testonly
209
-//        $this->aSv->debuglog('server', [
210
-//            'SERVER_ADDR' => $_SERVER['SERVER_ADDR'],
211
-//            'lineUserId' => $lineId,
212
-//        ]);
209
+        $this->aSv->debuglog('server', [
210
+            'SERVER_ADDR' => $_SERVER['SERVER_ADDR'],
211
+            'lineUserId' => $lineId,
212
+        ]);
213 213
 
214 214
         $this->sisLog['func'] = __FUNCTION__;
215 215
         $this->sisLog['k'] = $lineId;

+ 1
- 1
app/Http/Services/Web/Api2021Service.php ファイルの表示

@@ -398,7 +398,7 @@ class Api2021Service
398 398
             $id = \DB::getPdo()->lastInsertId();
399 399
 
400 400
             // 替用互打一次性標籤 testonly 暫時關閉
401
-//            $this->playerTag($lineId);
401
+            $this->playerTag($lineId);
402 402
         } else {
403 403
             // 用戶的 LINE 資訊可能會更新,所以這個 API 還身兼更新資訊的功能
404 404
 //            $d = [