mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 02:08:15 +08:00
路由规则修改
This commit is contained in:
parent
b320663b4f
commit
7dd7dddeb8
@ -161,6 +161,7 @@ public class IscAppServiceServiceImpl extends ServicePlusImpl<IscAppServiceMappe
|
|||||||
if (isValid) {
|
if (isValid) {
|
||||||
//TODO 做一些业务上的校验,判断是否需要校验
|
//TODO 做一些业务上的校验,判断是否需要校验
|
||||||
}
|
}
|
||||||
|
applyService.remove(Wrappers.<IscAppServiceApply>lambdaQuery().in(IscAppServiceApply::getAppServiceId, ids));
|
||||||
return removeByIds(ids);
|
return removeByIds(ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -27,11 +27,10 @@ public class RouteUtils
|
|||||||
URI uri = null;
|
URI uri = null;
|
||||||
try {
|
try {
|
||||||
uri = new URI(serviceAddr);
|
uri = new URI(serviceAddr);
|
||||||
|
return PATH_PREFIX + uri.getPath();
|
||||||
} catch (URISyntaxException e) {
|
} catch (URISyntaxException e) {
|
||||||
throw new ServiceException("URL格式异常");
|
throw new ServiceException("URL格式异常");
|
||||||
}
|
}
|
||||||
return String.format("%s/%s/%s%s", PATH_PREFIX, SecureUtil.md5(String.valueOf(applicationId)),
|
|
||||||
SecureUtil.md5(String.valueOf(serviceId)), uri.getPath());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user