为理限速 IP(0x202)、代理限速域名(0x203)、PXY IP替换(0x205)、APP 主题网站配置(0x480)、PXY

证书管理(0x208)、PXY管控文件策略(0x260)添加配置文件;
This commit is contained in:
zhangdongxu
2018-08-21 15:27:26 +08:00
parent bbf0d42c68
commit 08706dd2fd
4 changed files with 108 additions and 13 deletions

View File

@@ -60,17 +60,30 @@ public class ServiceAndRDBIndexReal {
if (unMaatService != null && !unMaatService.trim().equals("")) {
String[] split = unMaatService.split(";");
for (String str : split) {
String[] serviceAction = str.split(":");
serviceActionMap.put(Integer.valueOf(serviceAction[0]), Integer.valueOf(serviceAction[1]));
//回调类删除action zdx20180821
// String[] serviceAction = str.split(":");
// serviceActionMap.put(Integer.valueOf(serviceAction[0]), Integer.valueOf(serviceAction[1]));
//
// String serviceType = Configurations.getStringProperty(serviceAction[0], "");
// if (serviceType != null && !serviceType.trim().equals("")) {
// String[] typeArrs = serviceType.split(";");
// for (String typeStr : typeArrs) {
// String[] typeArr = typeStr.split(":");
// String tableNameArr[] = typeArr[1].split(",");
// for (String tableName : tableNameArr) {
// unMaatSercieNameMap.put(Integer.parseInt(serviceAction[0]), tableName.toUpperCase());
// }
// }
// }
String serviceType = Configurations.getStringProperty(serviceAction[0], "");
String serviceType = Configurations.getStringProperty(str, "");
if (serviceType != null && !serviceType.trim().equals("")) {
String[] typeArrs = serviceType.split(";");
for (String typeStr : typeArrs) {
String[] typeArr = typeStr.split(":");
String tableNameArr[] = typeArr[1].split(",");
for (String tableName : tableNameArr) {
unMaatSercieNameMap.put(Integer.parseInt(serviceAction[0]), tableName.toUpperCase());
unMaatSercieNameMap.put(Integer.parseInt(str), tableName.toUpperCase());
}
}
}