Merge branch 'feature/add_item' of 47.111.118.107:wmtx/platform into feature/add_item

master
zhengyongxing 4 years ago
commit befa97e04d

@ -47,6 +47,11 @@ class CompanyGameRatioModel extends Model
];
$res = $this->where($map)->order("begin_time asc")->select();
$data = [];
if(empty($res)){
$this->getGameMouldRadio($data,$game_id,$company_belong,$begintime,$endtime);
return $data;
}
foreach ($res as $ke => $va) {
if($va['begin_time'] <= $begintime){
//

Loading…
Cancel
Save