public ActionResult <object> Post([FromBody] sys_userVM model)
        {
            sys_user_Entity entity = model.ConvertToT <sys_user_Entity>();

            this.SetCreateUserInfo(entity);
            return(this._repository.Insert(entity).ResponseSuccess());
        }
        public ActionResult <object> GetList([FromBody] sys_userVM model, int pageindex, int pagesize)
        {
            sys_user_Entity entity = model.ConvertToT <sys_user_Entity>();

            var(list, total) = this._repository.GetList(entity, pageindex, pagesize);
            return(list.ResponseSuccess("", total));
        }
        public ActionResult <object> UpdateUserPassword([FromBody] sys_userVM model)
        {
            sys_user_Entity entity = this.GetLoginUser();

            this.SetUpdateUserInfo(entity);
            entity.Password = model.Password;
            return(this._repository.Update(entity).ResponseSuccess());
        }