fix(接口定义): 修复场景中的case跳转失败的缺陷

--bug=1030107 --user=王孝刚 【接口测试】github#26585,
1.20.23-lts升级到1.20.24-lts后,场景中的case跳转失败
https://www.tapd.cn/55049933/s/1412988
This commit is contained in:
wxg0103 2023-09-05 16:28:15 +08:00 committed by wxg0103
parent 6432dcad50
commit 466ca2fb3e
1 changed files with 1 additions and 1 deletions

View File

@ -1379,7 +1379,7 @@ public class UserService {
public void updateCurrentUserByResourceId(String resourceId) {
Project project = extProjectMapper.selectProjectByResourceId(resourceId);
if (project == null) {
MSException.throwException(Translator.get("select_resource_error_and_check"));
return;
}
SessionUser user = SessionUtils.getUser();
user.setLastProjectId(project.getId());