|
|
|
@ -39,7 +39,7 @@ class OrderData extends Card |
|
|
|
$this->content($this->orderNum($data_type,$type)); |
|
|
|
} |
|
|
|
|
|
|
|
public function orderNumBuild($marketId=null,$type=null) |
|
|
|
public function orderDataBuild($marketId=null,$type=null) |
|
|
|
{ |
|
|
|
|
|
|
|
$where = []; |
|
|
|
@ -84,7 +84,7 @@ class OrderData extends Card |
|
|
|
|
|
|
|
public function orderNum($data_type,$type) |
|
|
|
{ |
|
|
|
$build = $this->orderNumBuild($marketId=null,$type); |
|
|
|
$build = $this->orderDataBuild($marketId=null,$type); |
|
|
|
if ($data_type=='number'){ |
|
|
|
$result = $build->count(); |
|
|
|
}elseif ($data_type=='amount'){ |
|
|
|
|