提交 c97c1756 authored 作者: hzh's avatar hzh

代码优化

上级 9b6b837b
...@@ -37,7 +37,7 @@ public class ThirdWeishiServiceImpl implements IThirdWeishiService { ...@@ -37,7 +37,7 @@ public class ThirdWeishiServiceImpl implements IThirdWeishiService {
} }
Account account = accountMapper.selectOne(Account::getDeptId, deptId); Account account = accountMapper.selectOne(Account::getDeptId, deptId);
if (Objects.isNull(account)) { if (Objects.isNull(account)) {
throw new WeishiException("该部门没有配置"); throw new WeishiException("当前部门没有配置旅游产品账号密码,请先配置再使用");
} }
return updateToken(account); return updateToken(account);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论