fuyu 5 years ago
parent
commit
549c5fd02d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      application/inter/controller/license.php

+ 3 - 0
application/inter/controller/license.php

@@ -54,7 +54,10 @@ class License extends Controller
         try{
             $param = $_REQUEST['param'];
             $license = $param['license'] ??  false;
+            Log::record("$license");
+            Log::record($license);
             $license_info = Db::table('license')->where('license', $license)->where('status',1)->find();
+            Log::record($license_info);
             if(empty($license_info)) {
                 return json_encode(['status'=>'fail','code'=>'2001','msg'=>'授权码校验失败']);
             }