This commit is contained in:
mkm 2023-08-22 18:13:13 +08:00
parent 3d4e4be3b3
commit d8cb2637f0

View File

@ -11,9 +11,9 @@ class RemoteController extends BaseApiController
public array $notNeedLogin = ['index']; public array $notNeedLogin = ['index'];
public function shang_date_total_price($company,$is_day,$arr) public function shang_date_total_price($company,$isDay=1,$arr=[])
{ {
if($is_day==1){ if($isDay==1){
$start_time = date('Y-m-d'); $start_time = date('Y-m-d');
$time=strtotime($start_time)+86399; $time=strtotime($start_time)+86399;
$end_time=date('Y-m-d H:i:s',$time); $end_time=date('Y-m-d H:i:s',$time);