|
|
@ -5,12 +5,13 @@ namespace Home\Controller;
|
|
|
|
use Base\Service\PromoteCompanyService;
|
|
|
|
use Base\Service\PromoteCompanyService;
|
|
|
|
use Think\Controller;
|
|
|
|
use Think\Controller;
|
|
|
|
use Base\Service\PromoteService;
|
|
|
|
use Base\Service\PromoteService;
|
|
|
|
|
|
|
|
|
|
|
|
class BaseController extends HomeController
|
|
|
|
class BaseController extends HomeController
|
|
|
|
{
|
|
|
|
{
|
|
|
|
protected $promotePermissions;
|
|
|
|
protected $promotePermissions;
|
|
|
|
protected $loginPromote = null;
|
|
|
|
protected $loginPromote = null;
|
|
|
|
protected $canViewUserRecharge = true;
|
|
|
|
protected $canViewUserRecharge = true;
|
|
|
|
protected $isOpenQuery =true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected $permControlUrls = [
|
|
|
|
protected $permControlUrls = [
|
|
|
|
'Home/Query/recharge',
|
|
|
|
'Home/Query/recharge',
|
|
|
@ -58,7 +59,6 @@ class BaseController extends HomeController
|
|
|
|
$this->assign("grand_id", $loginer['grand_id']);
|
|
|
|
$this->assign("grand_id", $loginer['grand_id']);
|
|
|
|
$this->assign('canViewUserRecharge', $this->canViewUserRecharge);
|
|
|
|
$this->assign('canViewUserRecharge', $this->canViewUserRecharge);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$result = M('site_apply', 'tab_')->where("promote_id=$pid")->getField('status');
|
|
|
|
$result = M('site_apply', 'tab_')->where("promote_id=$pid")->getField('status');
|
|
|
|
if ($result['status'] == 1) {
|
|
|
|
if ($result['status'] == 1) {
|
|
|
|
$this->assign('noapplysite', $result);
|
|
|
|
$this->assign('noapplysite', $result);
|
|
|
@ -432,5 +432,4 @@ class BaseController extends HomeController
|
|
|
|
->group('relation_game_id')
|
|
|
|
->group('relation_game_id')
|
|
|
|
->select();
|
|
|
|
->select();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|