Commit 4ec8cd17 authored by clone's avatar clone

1

parent daa1d34e
......@@ -51,7 +51,7 @@ class PayLogOpenService
public function addOpenCheck($open_id, $status, $remark, $operation_id, $operation_name)
{
$id = $this->payLogOpenLogModel->getAllList('id', $open_id, ['status'=>$status]); //检查当前状态是否审核过
$id = $this->payLogOpenLogModel->getAllList('id', $open_id, ['status' => $status]); //检查当前状态是否审核过
if (empty($id)) {
$num = $this->payLogOpenLogModel->addOpenCheck(
$this->OpenLogCheckBin($open_id, $status, $remark, $operation_id, $operation_name)
......@@ -86,14 +86,16 @@ class PayLogOpenService
$fields = 'a.id,a.create_time,a.agent_id,a.pay_log_id,a.bargain_id,a.order_id,a.house_id,a.house_address,
a.status,b.create_time as disc_time,max(b.id) as two_id';
$list = $this->payLogOpenModel->getListCheck($pageNo, $pageSize, 'a.id desc', $fields, $where);
if(!$list){
if (!$list) {
return null;
}
foreach ($list as $key => $item) {
$params["img_id"] = $item["id"];
$params["img_id"] = $item["id"];
$params["img_type"] = 5;
$img_arr = $this->oImgModel->getImgList($params);
$list[$key]["img_arr"] = $img_arr;
$img_arr = $this->oImgModel->getImgList($params);
$list[$key]["img_path"] = CHAT_IMG_URL;
$list[$key]["img_arr"] = $img_arr;
}
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