|
|
@ -16,9 +16,14 @@ class VerifyBillController extends Controller {
|
|
|
|
public function __construct()
|
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
parent::__construct();
|
|
|
|
parent::__construct();
|
|
|
|
if (empty(session('cp_user_auth'))) {
|
|
|
|
if(ACTION_NAME == "show" && isset($_REQUEST['from']) && $_REQUEST['from']=="pc"){
|
|
|
|
redirect('admin.php?s=public/cp_login.html');
|
|
|
|
//不验证
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
if (empty(session('cp_user_auth'))) {
|
|
|
|
|
|
|
|
redirect('admin.php?s=public/cp_login.html');
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|