fix(测试跟踪): 没有填写第三方平台账号信息,创建TAPD缺陷报错
--bug=1021427 --user=陈建星 【测试跟踪】缺陷管理-提交缺陷到azure失败 https://www.tapd.cn/55049933/s/1321476
This commit is contained in:
parent
8e5455a00c
commit
1155378c4b
|
@ -19,7 +19,11 @@ public class UserService {
|
|||
UserMapper userMapper;
|
||||
|
||||
public UserDTO.PlatformInfo getCurrentPlatformInfo(String workspaceId) {
|
||||
return JSON.parseObject(getCurrentPlatformInfoStr(workspaceId), UserDTO.PlatformInfo.class);
|
||||
String currentPlatformInfoStr = getCurrentPlatformInfoStr(workspaceId);
|
||||
if (StringUtils.isNotBlank(currentPlatformInfoStr)) {
|
||||
JSON.parseObject(currentPlatformInfoStr, UserDTO.PlatformInfo.class);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getCurrentPlatformInfoStr(String workspaceId) {
|
||||
|
|
Loading…
Reference in New Issue