Commit efbfe7a2 authored by clone's avatar clone

1

parent 3d192f42
...@@ -163,17 +163,17 @@ class Amercement extends Basic ...@@ -163,17 +163,17 @@ class Amercement extends Basic
$is_success = $result["data"]["oritranstatus"]; $is_success = $result["data"]["oritranstatus"];
if ($is_success == "01") { if ($is_success == "01") {
$status = 1; $status = 1;
}elseif ($is_success == "02"){ } elseif ($is_success == "02") {
$status = 3; $status = 3;
}else{ } else {
$status = 2; $status = 2;
} }
$remark = $result["data"]["orirespmsg"]; $remark = $result["data"]["orirespmsg"];
$is_ok = $this->s_amercement->updatePayAmercement($params["trade_no"],$status,$remark); $is_ok = $this->s_amercement->updatePayAmercement($params["trade_no"], $status, $remark);
if($is_ok > 0){ if ($is_ok > 0) {
return $this->response("200","success",["status"=>$status,",remark"=>$remark]); return $this->response("200", "success", ["status" => $status, "remark" => $remark]);
}else{ } else {
return $this->response("101","查询异常请稍后再试"); return $this->response("101", "查询异常请稍后再试");
} }
} else { } else {
return $this->response("101", $result["msg"]); return $this->response("101", $result["msg"]);
......
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