Commit 7ed371a0 authored by hujun's avatar hujun

1

parent 0010fc03
......@@ -226,6 +226,29 @@ class DailyPaper extends Basic
}
}
/**
* @return \think\Response
*/
public function getPayLogOfficeImg()
{
header('Access-Control-Allow-Origin:*');
$params = $this->params;
/* $params = array(
"pay_log_id" => 1
);*/
if (!isset($params["pay_log_id"])) {
return $this->response("101", "请求参数错误");
}
$img_list = $this->service_->getOfficeImg($params["pay_log_id"]);
if (count($img_list) > 0) {
$result["img_path"] = CHAT_IMG_URL;
$result["img_info"] = $img_list;
return $this->response("200", "success", $result);
} else {
return $this->response("200", "request null");
}
}
/**
* 转为已审核的日报备份为图片
......
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