Commit c913fa9b authored by hujun's avatar hujun

commitDaily

parent 6bb799a1
...@@ -497,7 +497,7 @@ class DailyPaperService ...@@ -497,7 +497,7 @@ class DailyPaperService
$agent_info = $this->aAgentsModel->getAgentById($agent_info_field, $agent_info_arr); $agent_info = $this->aAgentsModel->getAgentById($agent_info_field, $agent_info_arr);
if (count($agent_info) <= 0 || ($agent_info[0]["level"] != 20 && $agent_info[0]["level"] != 40)) { if (count($agent_info) <= 0 || ($agent_info[0]["level"] != 20 && $agent_info[0]["level"] != 40)) {
$check_rule = new VipService(); $check_rule = new VipService();
$is = $check_rule->checkRule($agent_id, "index/dailyDetail"); $is = $check_rule->checkRule($agent_id, "commitDaily");
if ($is) { if ($is) {
return ["code" => 101, "msg" => "没有提交财务日报权限"]; return ["code" => 101, "msg" => "没有提交财务日报权限"];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment