|
@@ -57,7 +57,7 @@ public class LogAop {
|
|
|
if (arg instanceof Map map) {
|
|
|
// 查找serviceid
|
|
|
Optional serviceid = DataAliasGetUtil.getValue("serviceid", map);
|
|
|
- if (serviceid.isPresent()) {
|
|
|
+ if (serviceid.isPresent() && uri.startsWith("/openApi")) {
|
|
|
// 查找状态
|
|
|
List<Map<String, Object>> mapList = DataBase.query(Config.getCenterConnectionStr(), """
|
|
|
select runstate from servicestate where serviceid=? and containercode = ?""", serviceid.get(), Config.getContainerCode());
|