|
@@ -21,6 +21,7 @@ var (
|
|
|
RuleB = make([]string, 0)
|
|
|
RuleC = make([]string, 0)
|
|
|
RuleD = make([]string, 0)
|
|
|
+ RuleE = make([]string, 0)
|
|
|
)
|
|
|
|
|
|
const timeTypeAll = 1
|
|
@@ -78,6 +79,7 @@ func Init() {
|
|
|
RuleB = strings.Split(GF.Env.Ruleb, "\n")
|
|
|
RuleC = strings.Split(GF.Env.Rulec, "\n")
|
|
|
RuleD = strings.Split(GF.Env.Ruled, "\n")
|
|
|
+ RuleE = strings.Split(GF.Env.Rulee, "\n")
|
|
|
}
|
|
|
|
|
|
func main() {
|
|
@@ -167,6 +169,9 @@ func dealTopInformation(where interface{}, timeType int) {
|
|
|
} else if IsInStringArray(zc_code, RuleD) {
|
|
|
hasNew = true
|
|
|
topinformation = append(topinformation, "情报_车辆租赁")
|
|
|
+ } else if IsInStringArray(zc_code, RuleE) {
|
|
|
+ hasNew = true
|
|
|
+ topinformation = append(topinformation, "情报_安防")
|
|
|
}
|
|
|
}
|
|
|
|