Commit e464dbea authored by clone's avatar clone

bug

parent 44657000
...@@ -132,12 +132,13 @@ class OrderLog extends Basic ...@@ -132,12 +132,13 @@ class OrderLog extends Basic
{ {
$params = $this->params; $params = $this->params;
if (!isset($params["agent_id"]) || !isset($params["report_id"]) || !isset($params["order_id"]) || !isset($params["order_no"]) if (!isset($params["agent_id"]) || !isset($params["agent_name"]) || !isset($params["report_id"]) || !isset($params["order_id"]) || !isset($params["order_no"])
|| !isset($params["refund_money"])) { || !isset($params["refund_money"])) {
return $this->response("101", "请求参数错误"); return $this->response("101", "请求参数错误");
} }
/* $params = array( /* $params = array(
"agent_id" => 1,//退款经纪人id "agent_id" => 1,//退款经纪人id
"agent_name" => 1,//退款经纪人id
"report_id" => 1,//报备id "report_id" => 1,//报备id
"order_id" => 1, //关联order表id "order_id" => 1, //关联order表id
"order_no" => "12312312312312", //订单no "order_no" => "12312312312312", //订单no
......
...@@ -389,7 +389,7 @@ class OrderLogService ...@@ -389,7 +389,7 @@ class OrderLogService
public function getSearchOrder($params) public function getSearchOrder($params)
{ {
$condition = $where_ = "1=1 "; $condition = $where_ = "1=1 ";
$field = "a.id,a.order_no,a.f_id,a.house_id,a.house_title,b.report_agent_id,b.report_agent_phone,b.report_agent_name, $field = "a.id as order_id,a.order_no,a.f_id,a.house_id,a.house_title,b.report_agent_id,b.report_agent_phone,b.report_agent_name,
b.user_id,b.user_phone,b.user_name,b.predict_see_time"; b.user_id,b.user_phone,b.user_name,b.predict_see_time";
switch ((int)$params["type"]) { switch ((int)$params["type"]) {
case 0: case 0:
......
...@@ -32,6 +32,9 @@ class ORefundModel extends Model{ ...@@ -32,6 +32,9 @@ class ORefundModel extends Model{
if(isset($params["agent_id"])){ if(isset($params["agent_id"])){
$refund_arr["agent_id"] = $params["agent_id"]; $refund_arr["agent_id"] = $params["agent_id"];
} }
if(isset($params["agent_name"])){
$refund_arr["agent_name"] = $params["agent_name"];
}
if(isset($params["report_id"])){ if(isset($params["report_id"])){
$refund_arr["report_id"] = $params["report_id"]; $refund_arr["report_id"] = $params["report_id"];
} }
......
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