|
@@ -53,7 +53,7 @@ public class DirServiceImpl extends ServiceImpl<DirMapper, DirEntity> implements
|
|
|
Long id = param.getId();
|
|
|
DirEntity entity = null;
|
|
|
if (id == null){
|
|
|
- String phone = userRequest.getCurrentToken();
|
|
|
+ String phone = userRequest.getUserNameForToken();
|
|
|
log.info("该用户:{} 创建了新目录, 名字为:{}", phone, param.getName());
|
|
|
entity = new DirEntity();
|
|
|
BeanUtils.copyProperties(param, entity);
|