Commit a3f95ac6 authored by clone's avatar clone

bug

parent 52da837e
...@@ -396,14 +396,14 @@ class Performance extends Basic ...@@ -396,14 +396,14 @@ class Performance extends Basic
public function superviseList() public function superviseList()
{ {
header('Access-Control-Allow-Origin:*'); header('Access-Control-Allow-Origin:*');
/*$params = $this->params; $params = $this->params;
$params = array( /* $params = array(
"agent_id" => 78, "agent_id" => 78,
"start_time" => "2018-06-12", "start_time" => "2018-06-12",
"end_time" => "2018-06-20", "end_time" => "2018-06-20",
"page_no" => 1, "page_no" => 1,
"page_size" => 15 "page_size" => 15
);*/ );*/
$checkResult = $this->validate($params, "PerformanceValidate.verifyOther"); $checkResult = $this->validate($params, "PerformanceValidate.verifyOther");
if (true !== $checkResult) { if (true !== $checkResult) {
......
...@@ -556,7 +556,7 @@ class OBargainModel extends Model ...@@ -556,7 +556,7 @@ class OBargainModel extends Model
public function getReceivedGroupTime($params) public function getReceivedGroupTime($params)
{ {
$where_ = []; $where_ = [];
$field = "sum(b.money) as num,DATE(b.create_time) as day"; $field = "sum(b.practical_fee) as num,DATE(b.create_time) as day";
if (isset($params["agent_id"])) { if (isset($params["agent_id"])) {
...@@ -646,7 +646,7 @@ class OBargainModel extends Model ...@@ -646,7 +646,7 @@ class OBargainModel extends Model
public function getReceived($params) public function getReceived($params)
{ {
$where_ = []; $where_ = [];
$field = "sum(b.money) as num"; $field = "sum(b.practical_fee) as num";
if (isset($params["agent_id"])) { if (isset($params["agent_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