lizhen_gitee пре 5 месеци
родитељ
комит
ba14544304
2 измењених фајлова са 1 додато и 6 уклоњено
  1. 0 5
      application/api/controller/Tenim.php
  2. 1 1
      application/common/controller/Api.php

+ 0 - 5
application/api/controller/Tenim.php

@@ -3,11 +3,6 @@
 namespace app\api\controller;
 
 use app\common\controller\Api;
-use app\common\service\TenimService;
-use think\Request;
-use getusersig\getusersig;
-use tencentim\tencentim;
-use Redis;
 use think\Db;
 
 /**

+ 1 - 1
application/common/controller/Api.php

@@ -416,7 +416,7 @@ class Api
         $actionname     = $this->request->action();
 
         if(strtolower($actionname) == 'callback'){
-            return true;
+            //return true;
         }
 
         defined('API_REQUEST_LOG_TYPE') or define('API_REQUEST_LOG_TYPE', $this->logType);