兼容修改
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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'];
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user