cqp пре 4 недеља
родитељ
комит
dc1a64f939
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/Service/DingService.php

+ 1 - 1
app/Service/DingService.php

@@ -84,7 +84,7 @@ class DingService extends Service
             $result = $res['result'];
 
             DDEmployee::updateOrCreate(
-                ['userid' => $result['userid']],
+                ['userid' => $result['userid'], 'login_type' => $LoginType],
                 ['name' => $result['name'], 'userid' => $result['userid'], 'login_type' => $LoginType]
             );
         }