|
@@ -185,8 +185,9 @@ public class TmProjectServiceImpl extends ServiceImpl<ITmProjectMapper, TmProjec
|
|
|
if(caseEntity ==null){
|
|
|
throw new BusinessException(ResultCode.CASE_NOT_EXITS);
|
|
|
}
|
|
|
- redisUtil.set(redisKey, RandomUtil.randomString(4),RedisKeyUtil.projectRandCodeKeyTime);
|
|
|
- return RandomUtil.randomString(4);
|
|
|
+ String code = RandomUtil.randomString(4);
|
|
|
+ redisUtil.set(redisKey, code,RedisKeyUtil.projectRandCodeKeyTime);
|
|
|
+ return code;
|
|
|
}
|
|
|
|
|
|
@Override
|