@ -16,9 +16,14 @@ class VerifyBillController extends Controller {
public function __construct()
{
parent::__construct();
if (empty(session('cp_user_auth'))) {
redirect('admin.php?s=public/cp_login.html');
if(ACTION_NAME == "show" && isset($_REQUEST['from']) && $_REQUEST['from']=="pc"){
//不验证
}else{
}
@ -240,7 +240,7 @@
});
$(".statement_view").click(function () {
var url = "{:U('VerifyBill/show',array('id'=>$data['id'],'form'=>'pc'))}";
var url = "{:U('VerifyBill/show',array('id'=>$data['id'],'from'=>'pc'))}";
layer.open({
type: 2,
title: "海南万盟天下科技有限公司",