代理服务端solon化改造,rest接口、静态资源服务调通。

This commit is contained in:
aoshiguchen
2023-03-10 10:06:43 +08:00
parent 5269fb9149
commit 310d87e851
2 changed files with 1 additions and 2 deletions
@@ -199,7 +199,6 @@ public class PortMappingService implements Lifecycle {
LicenseDO licenseDO = licenseMapper.findById(portMappingDO.getLicenseId());
ParamCheckUtil.checkNotNull(licenseDO, ExceptionConstant.LICENSE_NOT_EXIST);
if (!SystemContextHolder.isAdmin()) {
// 临时处理,如果当前用户不是管理员,则操作userId不能为1
ParamCheckUtil.checkExpression(!licenseDO.getUserId().equals(1), ExceptionConstant.NO_PERMISSION_VISIT);
}
@@ -1,5 +1,5 @@
server:
port: 8081
port: 8888
neutrino:
proxy: