liuyuanhang hace 4 años
padre
commit
8e561750f0
Se han modificado 2 ficheros con 412 adiciones y 513 borrados
  1. 3 1
      app/Helpers/functions.php
  2. 409 512
      app/Http/Controllers/Api/V2/DoctorController.php

+ 3 - 1
app/Helpers/functions.php

xqd
@@ -248,7 +248,9 @@ if (!function_exists('getWeek')){
      */
     function getWeek($date){
 
-        $weekday= "今天是星期" . mb_substr( "日一二三四五六",$date,1,"utf-8" );
+        $weekarray=array("周日","周一","周二","周三","周四","周五","周六");
+        $weekday['week'] = $weekarray[date("w",strtotime($date))];
+        $weekday['flag'] = date("w",strtotime($date));
         return $weekday ;
     }
 }

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 409 - 512
app/Http/Controllers/Api/V2/DoctorController.php


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio