소스 검색

小遊戲復活

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
 //        return response()->json(["succ" => true, "err" => '', "info" => []]);
206
 //        return response()->json(["succ" => true, "err" => '', "info" => []]);
207
 
207
 
208
         // testonly
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
         $this->sisLog['func'] = __FUNCTION__;
214
         $this->sisLog['func'] = __FUNCTION__;
215
         $this->sisLog['k'] = $lineId;
215
         $this->sisLog['k'] = $lineId;

+ 1
- 1
app/Http/Services/Web/Api2021Service.php 파일 보기

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