Commit a6f5272c authored by hujun's avatar hujun

0

parent 22020d8f
...@@ -78,11 +78,15 @@ class ApplyForCost extends Basic ...@@ -78,11 +78,15 @@ class ApplyForCost extends Basic
return $this->response(101, '请求错误'); return $this->response(101, '请求错误');
} }
$is_ok = $check_rule->checkRule($this->agentId, $check_url); if (isset($check_url)) {
if ($is_ok) { $is_ok = $check_rule->checkRule($this->agentId, $check_url);
$is_check = 0; if ($is_ok) {
$is_check = 0;
} else {
$is_check = 1;
}
} else { } else {
$is_check = 1; $is_check = 0;
} }
$field = 'a.id,a.count_time,a.source,a.type,a.create_time,a.agent_id,a.total_fee,a.fee_item,a.purpose,'; $field = 'a.id,a.count_time,a.source,a.type,a.create_time,a.agent_id,a.total_fee,a.fee_item,a.purpose,';
......
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