Explorar el Código

默认值处理

WH01243 hace 7 meses
padre
commit
0dc535852a
Se han modificado 2 ficheros con 3 adiciones y 5 borrados
  1. 1 3
      jyBXCore/api/etc/bxcore-api.yaml
  2. 2 2
      jyBXCore/rpc/service/operator.go

+ 1 - 3
jyBXCore/api/etc/bxcore-api.yaml

@@ -7,9 +7,7 @@ Webrpcport: 8014
 Gateway:
   ServerCode: jybxcore
   Etcd:
-    - 192.168.3.207:2379
-    - 192.168.3.165:2379
-    - 192.168.3.204:2379
+    - 127.0.0.1:2379
 Core:
   Etcd:
     Hosts:

+ 2 - 2
jyBXCore/rpc/service/operator.go

@@ -157,7 +157,7 @@ func getGetCriteriaType(entId, positionId, tag int64) []map[string]interface{} {
 				}
 				if isExist {
 					data = append(data, map[string]interface{}{
-						"key":            "subtype",
+						"key":            "topType",
 						"type":           "component-popup-infotype",
 						"label":          "信息类型",
 						"cascader":       true,
@@ -232,7 +232,7 @@ func getGetCriteriaType(entId, positionId, tag int64) []map[string]interface{} {
 							}}})
 				} else {
 					data = append(data, map[string]interface{}{
-						"key":            "subtype",
+						"key":            "topType",
 						"type":           "selectList",
 						"label":          "信息类型",
 						"cascader":       true,