|
|
@@ -152,7 +152,11 @@ func buildPCWEBSQL(datas []interface{}, parentCode string, level int, clientType
|
|
|
)
|
|
|
|
|
|
rulekey, hasRuleKey := data["rulekey"]
|
|
|
- if hasRuleKey && rulekey != "" {
|
|
|
+ isshow := false
|
|
|
+ if _, hasIsShow := data["isshow"]; hasIsShow {
|
|
|
+ isshow = data["isshow"].(bool)
|
|
|
+ }
|
|
|
+ if (hasRuleKey && rulekey != "") && isshow {
|
|
|
rulekey = data["rulekey"].(string)
|
|
|
|
|
|
if data["remark"] != nil {
|