提交 86bd4d7b authored 作者: chengye's avatar chengye

测试

上级 080d3760
......@@ -405,6 +405,7 @@ class Payment extends Base
$payment_id = Request::param('payment_id');
$user = Session::get('user');
dd($user);
if($user['is_admin'] == 1){
if($user['username'] == 'admin' || $user['username'] == 'gonnadmin'){
$staff = [];
......@@ -415,7 +416,6 @@ class Payment extends Base
$staff = Staff::get($user['user_id']);
}
dd($staff);
$this->assign('payment_id',$payment_id);
$this->assign('payee',$this->getGys($staff->email));
$this->assign('payOrg',$this->getFkInfo(2));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论