Commit 7a69bb16 authored by hujun's avatar hujun

0

parent 46e60a0a
......@@ -416,9 +416,10 @@ class StoreFee extends Basic
$check_url = ltrim($this->request->baseUrl(), '/');
$validate = new StoreFeeValidate();
$id = 0;
$id = $status = 0;
if ($check_url == 'index/addApplyFor') {
$checkResult = $validate->scene("pcAddApplyFor")->check($params);
$status = 1;
} else {
$id = $params['id'];
$checkResult = $validate->scene("pcEditApplyFor")->check($params);
......@@ -453,7 +454,7 @@ class StoreFee extends Basic
}
}
$is_ok = $service_->addApplyForPC($type, $fee_item, $total_fee, $agent_id, $store_id, $purpose, $site_id, $card_name,
$bank, $card_no, $count_time, $img_arr, $id, $office_id, 1);
$bank, $card_no, $count_time, $img_arr, $id, $office_id, $status);
if ($is_ok > 0) {
return $this->response("200", "request success", []);
} else {
......
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