zxhxx 3 år sedan
förälder
incheckning
10a35ad8ad
1 ändrade filer med 4 tillägg och 1 borttagningar
  1. 4 1
      application/api/controller/Rescue.php

+ 4 - 1
application/api/controller/Rescue.php

@@ -117,7 +117,10 @@ class Rescue extends Api
             ],$request
         );
         $where['processtime'] = time();
-        SosBill::where('id',input('id',0))->update($where);
+        $where1 = $where;
+        unset($where1['from']);
+        unset($where1['re_url']);
+        SosBill::where('id',input('id',0))->update($where1);
         $info = SosBill::find(input('id',0));
         switch (intval($where['status']))
         {