Ver código fonte

delete api fule

zhangdehua 1 ano atrás
pai
commit
ea29f53964
1 arquivos alterados com 2 adições e 0 exclusões
  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!');
         }