|
|
|
@ -36,6 +36,14 @@ class BusinessAffairsAwardController extends ThinkController
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(IS_ROOT){
|
|
|
|
|
$this->assign('add_check',true);
|
|
|
|
|
}else {
|
|
|
|
|
$exportRule = strtolower(MODULE_NAME . '/' . CONTROLLER_NAME . '/' . ACTION_NAME . "_add_check");
|
|
|
|
|
|
|
|
|
|
$this->assign('add_check', $this->checkRule($exportRule, array('in', '1,2')));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$count = $this->model->where("1=1")->count();
|
|
|
|
|
|
|
|
|
|
$page = set_pagination($count, $row,$params);
|
|
|
|
@ -53,7 +61,6 @@ class BusinessAffairsAwardController extends ThinkController
|
|
|
|
|
{
|
|
|
|
|
if(IS_POST) {
|
|
|
|
|
|
|
|
|
|
// dump($_POST);die();
|
|
|
|
|
if (!$_POST['ratio']) {
|
|
|
|
|
$this->ajaxReturn(["msg"=>"请填写抽成比例","code"=>0]);
|
|
|
|
|
}
|
|
|
|
|