服务类修改
This commit is contained in:
@@ -5,7 +5,7 @@ namespace app\admin\controller\embed;
|
|||||||
use app\admin\model\Config as ConfigModel;
|
use app\admin\model\Config as ConfigModel;
|
||||||
use app\admin\model\Game;
|
use app\admin\model\Game;
|
||||||
use app\admin\model\Provider;
|
use app\admin\model\Provider;
|
||||||
use app\common\service\Jk8Services;
|
use app\common\service\JK8Services;
|
||||||
use think\facade\Db;
|
use think\facade\Db;
|
||||||
use app\common\controller\Backend;
|
use app\common\controller\Backend;
|
||||||
use Throwable;
|
use Throwable;
|
||||||
@@ -26,7 +26,7 @@ class Embed extends Backend
|
|||||||
{
|
{
|
||||||
parent::initialize();
|
parent::initialize();
|
||||||
$this->model = new Game();
|
$this->model = new Game();
|
||||||
$this->jk8Services = app(Jk8Services::class);
|
$this->jk8Services = app(JK8Services::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function gameRtp()
|
public function gameRtp()
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
namespace app\admin\controller\user;
|
namespace app\admin\controller\user;
|
||||||
|
|
||||||
use app\admin\model\PromoReward;
|
use app\admin\model\PromoReward;
|
||||||
use app\common\service\Jk8Services;
|
use app\common\service\JK8Services;
|
||||||
use Throwable;
|
use Throwable;
|
||||||
use app\common\controller\Backend;
|
use app\common\controller\Backend;
|
||||||
use app\admin\model\User as UserModel;
|
use app\admin\model\User as UserModel;
|
||||||
@@ -29,7 +29,7 @@ class User extends Backend
|
|||||||
public function initialize(): void
|
public function initialize(): void
|
||||||
{
|
{
|
||||||
parent::initialize();
|
parent::initialize();
|
||||||
$this->jk8Services = app(Jk8Services::class);
|
$this->jk8Services = app(JK8Services::class);
|
||||||
$this->model = new UserModel();
|
$this->model = new UserModel();
|
||||||
$this->score = new UserScore();
|
$this->score = new UserScore();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace app\api\controller;
|
|||||||
use app\admin\model\PromoReward;
|
use app\admin\model\PromoReward;
|
||||||
use app\common\controller\Api;
|
use app\common\controller\Api;
|
||||||
use app\common\model\Config;
|
use app\common\model\Config;
|
||||||
use app\common\service\Jk8Services;
|
use app\common\service\JK8Services;
|
||||||
use app\common\model\User;
|
use app\common\model\User;
|
||||||
|
|
||||||
class External extends Api
|
class External extends Api
|
||||||
@@ -14,7 +14,7 @@ class External extends Api
|
|||||||
public function initialize(): void
|
public function initialize(): void
|
||||||
{
|
{
|
||||||
parent::initialize();
|
parent::initialize();
|
||||||
$this->jk8Services = app(Jk8Services::class);
|
$this->jk8Services = app(JK8Services::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function depositNotify()
|
public function depositNotify()
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ use app\admin\model\Game;
|
|||||||
use app\admin\model\Provider;
|
use app\admin\model\Provider;
|
||||||
use think\Exception;
|
use think\Exception;
|
||||||
|
|
||||||
class Jk8Services
|
class JK8Services
|
||||||
{
|
{
|
||||||
private $domain = '';
|
private $domain = '';
|
||||||
private $accessId = '';
|
private $accessId = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user