After reading the comments, three things need to be modified,
1. parent::initialize(); //Inherit the initialization operation in the parent class, which needs to be written as parent::_initialize(); //Inherit The initialization operation in the parent class
2, if(empty(USER_ID)) is changed to if(is_null(USER_ID))
3, if(!empty(USER_ID) )) Change to if(!is_null(USER_ID))
After reading the comments, three things need to be modified,
1. parent::initialize(); //Inherit the initialization operation in the parent class, which needs to be written as parent::_initialize(); //Inherit The initialization operation in the parent class
2, if(empty(USER_ID)) is changed to if(is_null(USER_ID))
3, if(!empty(USER_ID) )) Change to if(!is_null(USER_ID))