wugg hace 8 meses
padre
commit
79b4b4200f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/bug/listener/RoleEvent.php

+ 2 - 2
app/bug/listener/RoleEvent.php

@@ -88,9 +88,9 @@ class RoleEvent
 	                        'status' => 1
 	                    ]);
 	        }else$info->RoleInfo->save( [
-                        'action_conllect' => $action,
+                        'action_conllect' =>  $action['action']??[],
                         'action_data' => [],
-                        'private_data' => [],
+                        'private_data' => $action['private']??[],
                     ]);
         	if($event->belong_role_id==0){
         		$event->belong_role_id =$info->id;