外团推广功能提交

master
zhengyongxing 4 years ago
parent c27315d3c0
commit 8340ddc115

@ -841,7 +841,7 @@ class TimingController extends AdminController {
public function test() {
// $this->getSpecialComplement(strtotime(date("Y-m-1",strtotime("2020-07"))),strtotime(date("Y-m-t",strtotime("2020-07")))+86399,2259);
dump(D("CompanyGameRatio")->getPromoteCompanyGameRatio(64,(string)211,1596556800,1598889599,1));
dump(D("CompanyGameRatio")->getPromoteCompanyGameRatio(64,(string)211,1596211200,1598889599,1));
}

@ -104,10 +104,10 @@ class CompanyGameRatioModel extends Model
$this->getGameMouldRadio($data,$game_id,$company_belong,$end+1,$endtime);
}
foreach ($data as $ke => &$va) {
$va['begintime'] = \date("Y-m-d H:i:s", $va['begintime']);
$va['endtime'] = \date("Y-m-d H:i:s", $va['endtime']);
}
// foreach ($data as $ke => &$va) {
// $va['begintime'] = \date("Y-m-d H:i:s", $va['begintime']);
// $va['endtime'] = \date("Y-m-d H:i:s", $va['endtime']);
// }
return $data;

Loading…
Cancel
Save