1. When I add categories in the controller, there is a field path, that needs to execute the method in the model to give the path value, and then the method save ()
thinkphp in the controller has after_insert and after_update.
laravel doesn"t know what to do with it