Commit bebc797d authored by zw's avatar zw

订单搜索

parent a19d4c9b
......@@ -46,7 +46,7 @@ class OrderLog extends Basic
return $this->response("101", "请求参数错误");
}
/* $params = array(
/* $params = array(
"reception_id" => 1,//带看经纪人id
"report_id" => 1,//报备id
"order_id" =>1, //关联order表id
......
......@@ -95,6 +95,7 @@ class Basic extends Controller
if (!in_array(trim($requestPath), $this->filterVerify)) {
$this->tokenVerify();
}
unset($this->params["AuthToken"]);
/*临时验证 end*/
......
......@@ -33,9 +33,9 @@ class OMarchInModel extends Model
$params["update_time"] = date("Y-m-d H:i:s", time());
Db::startTrans();
try {
$this->db_model->insert($params);
$id = $this->db_model->insertGetId($params);
Db::commit();
return 1;
return $id;
} catch (\Exception $e) {
Db::rollback();
return 0;
......
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