소스 검색

delete api fule

zhangdehua 1 년 전
부모
커밋
ea29f53964
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      app/index/controller/Checkout.php

+ 2 - 0
app/index/controller/Checkout.php

@@ -12,6 +12,7 @@ declare (strict_types=1);
 
 namespace app\index\controller;
 
+use app\common\library\Log;
 use app\index\model\Order as OrderModel;
 use app\index\service\order\PaySuccess;
 use app\index\service\User as UserService;
@@ -68,6 +69,7 @@ class Checkout extends Controller
     public function submit(string $mode = 'buyNow'): Json
     {
         $userId = Session::get('user_id');
+        \think\facade\Log::info('submit:'.$userId);
         if (empty($userId)) {
             return $this->renderJson(config('status.not_logged'), 'Log in please!');
         }