diff --git a/Application/Admin/Controller/VerifyBillController.class.php b/Application/Admin/Controller/VerifyBillController.class.php index f214430b2..d951bedf3 100644 --- a/Application/Admin/Controller/VerifyBillController.class.php +++ b/Application/Admin/Controller/VerifyBillController.class.php @@ -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{ + if (empty(session('cp_user_auth'))) { + redirect('admin.php?s=public/cp_login.html'); + } } + } diff --git a/Application/Admin/View/StatementMangement/lists.html b/Application/Admin/View/StatementMangement/lists.html index 7df62f612..a2e2fedbd 100644 --- a/Application/Admin/View/StatementMangement/lists.html +++ b/Application/Admin/View/StatementMangement/lists.html @@ -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: "海南万盟天下科技有限公司",