Compare commits
No commits in common. "d0238c2320e67ea586ca9aa1a770461c07c7825d" and "7ce5ac39655f4b83519eafc2139df39029723f49" have entirely different histories.
d0238c2320
...
7ce5ac3965
|
@ -273,7 +273,7 @@ public class ModelServiceImpl extends ServiceImpl<ModelMapper,ModelProduct> impl
|
|||
|
||||
//校验是否实名
|
||||
SysUser sysUser = sysUserService.selectUserInfoById(SecurityUtils.getUserId());
|
||||
if (StringUtils.isEmpty(sysUser.getName())){
|
||||
if (sysUser.getName() == null){
|
||||
|
||||
return R.fail(HttpStatus.SHOW_ERROR_MSG,"实名制后才可以发布");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue