| xqd
@@ -556,7 +556,7 @@ class ApiController extends Controller
|
|
|
// echo '周几'.$week.' 日期 '.$scheduleDate.PHP_EOL;
|
|
|
|
|
|
if(empty($today)){
|
|
|
- $scheduleList[] = [
|
|
|
+ $scheduleList[$i-1] = [
|
|
|
'schedulelingList'=>$baseData,
|
|
|
'date'=>$i,
|
|
|
'week'=>$week,
|
| xqd
@@ -591,7 +591,7 @@ class ApiController extends Controller
|
|
|
->distinct('type')->get(['organization_id','type'])->GroupBy('type')->toArray();
|
|
|
|
|
|
if(empty($today)){
|
|
|
- $scheduleList[] = [
|
|
|
+ $scheduleList[$i-1] = [
|
|
|
'schedulelingList'=>$baseData,
|
|
|
'date'=>$i,
|
|
|
'week'=>$week,
|