@@ -36,7 +36,7 @@ class Kernel extends ConsoleKernel
*/
protected function commands()
{
- $this->load(__DIR__.'/Commands');
+ $this->load(__DIR__ . '/Commands');
require base_path('routes/console.php');
}
@@ -235,8 +235,7 @@ class UserDutyCheckController extends Controller
$userDutyCheck->workgroup_id=$userDutyCheckOld['workgroup_id'];
- }
- if ($userDutyCheckOld->type=="登入"){
+ }else if ($userDutyCheckOld->type=="登入"){
switch ($diffDate){
case $diffDate<=20:
$userDutyCheck->type="登入";
@@ -0,0 +1,3 @@
+{
+ "process": 8432
+}