优化
This commit is contained in:
parent
c2c80863b7
commit
7f1aa34efd
@ -38,6 +38,7 @@ import io.linfeng.common.utils.R;
|
||||
@RestController
|
||||
@RequestMapping("admin/user")
|
||||
public class AppUserController {
|
||||
|
||||
@Autowired
|
||||
private AppUserService appUserService;
|
||||
|
||||
|
@ -201,6 +201,7 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserDao, AppUserEntity> i
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public void updateAppUserInfo(AppUserUpdateForm appUserUpdateForm, AppUserEntity user) {
|
||||
if (!ObjectUtil.isEmpty(appUserUpdateForm.getAvatar())) {
|
||||
user.setAvatar(appUserUpdateForm.getAvatar());
|
||||
|
Loading…
Reference in New Issue
Block a user