Commit a6f5272c authored by hujun's avatar hujun

0

parent 22020d8f
...@@ -78,12 +78,16 @@ class ApplyForCost extends Basic ...@@ -78,12 +78,16 @@ class ApplyForCost extends Basic
return $this->response(101, '请求错误'); return $this->response(101, '请求错误');
} }
if (isset($check_url)) {
$is_ok = $check_rule->checkRule($this->agentId, $check_url); $is_ok = $check_rule->checkRule($this->agentId, $check_url);
if ($is_ok) { if ($is_ok) {
$is_check = 0; $is_check = 0;
} else { } else {
$is_check = 1; $is_check = 1;
} }
} else {
$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,';
$field .= 'b.name as agent_name,a.card_name,a.bank,a.card_no,a.source,a.store_id,a.status'; $field .= 'b.name as agent_name,a.card_name,a.bank,a.card_no,a.source,a.store_id,a.status';
......
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