兼容修改

This commit is contained in:
张松
2025-08-15 10:21:42 +08:00
parent fe569dba2b
commit d940a429f4
5 changed files with 5 additions and 14 deletions

View File

@@ -4,7 +4,6 @@ namespace app\czg\app\controller;
use app\api\model\Announcement;
use app\common\controller\Frontend;
use app\czg\app\model\TbUser;
class AnnouncementController extends Frontend
{

View File

@@ -3,15 +3,14 @@
namespace app\czg\app\controller;
use app\common\controller\Frontend;
use ba\Random;
use app\common\library\Token;
use extend\ba\Random;
use think\facade\Db;
use Throwable;
use ba\Captcha;
use think\Response;
use ba\ClickCaptcha;
use think\facade\Config;
use app\common\facade\Token;
use app\common\library\Auth as UserAuth;
use Webman\Http\Response;
class CommonController extends Frontend
{

View File

@@ -6,17 +6,14 @@ use app\api\model\CommonInfo;
use app\api\model\DiscSpinningRecord;
use app\api\model\Orders;
use app\api\model\TbUser;
use app\api\model\UserMoney;
use app\common\controller\Frontend;
use app\common\library\DatabaseRoute;
use app\exception\CzgException;
use app\exception\SysException;
use app\queue\DiscReceiveQueue;
use ba\Random;
use app\queue\redis\DiscReceiveQueue;
use extend\ba\Random;
use think\facade\Db;
use support\Log;
use think\facade\Queue;
class DiscSpinningController extends Frontend
{
protected array $noNeedLogin = ['draw'];

View File

@@ -8,8 +8,6 @@ use app\api\model\TbUser;
use app\common\controller\Frontend;
use app\common\library\DatabaseRoute;
use app\exception\CzgException;
use app\queue\DiscReceiveQueue;
use ba\Random;
use think\facade\Db;
class DiscSpinningRecordController extends Frontend

View File

@@ -9,9 +9,7 @@ use app\api\model\WithDraw;
use app\common\controller\Frontend;
use app\exception\SysException;
use app\utils\RedisUtils;
use think\cache\driver\Redis;
use think\facade\Db;
use think\facade\Cache;
use app\api\model\Cash as CashModel;
use support\Log;