Commit b542527c authored by clone's avatar clone

1

parent 7938e205
...@@ -60,7 +60,7 @@ class PayLogOpen extends Basic ...@@ -60,7 +60,7 @@ class PayLogOpen extends Basic
try { try {
$open_img = json_decode($params["open_img"], true); $open_img = json_decode($params["open_img"], true);
} catch (Exception $exception) { } catch (Exception $exception) {
return $this->response("101", "申请开图片解析错误:" . $exception); return $this->response("101", "申请开图片解析错误:" . $exception);
} }
$return_id = $this->service_->addApplyForOpen($pay_log_id, $report_id, $bargain_id, $agent_id, $house_id, $intro, $return_id = $this->service_->addApplyForOpen($pay_log_id, $report_id, $bargain_id, $agent_id, $house_id, $intro,
...@@ -68,7 +68,7 @@ class PayLogOpen extends Basic ...@@ -68,7 +68,7 @@ class PayLogOpen extends Basic
if ($return_id > 0) { if ($return_id > 0) {
return $this->response("200", "success", ["id" => $return_id]); return $this->response("200", "success", ["id" => $return_id]);
} elseif ($return_id == -1){ } elseif ($return_id == -1){
return $this->response("101", "开申请已提交,请勿重复提交"); return $this->response("101", "开申请已提交,请勿重复提交");
} else { } else {
return $this->response("101", "save error"); return $this->response("101", "save error");
} }
......
...@@ -177,7 +177,7 @@ class PayLogOpenService ...@@ -177,7 +177,7 @@ class PayLogOpenService
$list[$key]["img_path"] = CHAT_IMG_URL; $list[$key]["img_path"] = CHAT_IMG_URL;
$list[$key]["img_arr"] = $img_arr; $list[$key]["img_arr"] = $img_arr;
$log_list = $this->payLogOpenLogModel->getAllList($field_log, $item["id"], []); $log_list = $this->payLogOpenLogModel->getAllList($field_log, 0, ["open_id"=>$item["id"]]);
$list[$key]["log_list"] = $log_list; $list[$key]["log_list"] = $log_list;
} }
return $list; return $list;
......
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