mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-24 03:18:35 +08:00
[feat]添加规则引擎debug功能
This commit is contained in:
@@ -5,12 +5,15 @@ import (
|
||||
)
|
||||
|
||||
type RuleDataJson struct {
|
||||
LfData struct {
|
||||
GlobalColor string `json:"globalColor"`
|
||||
DataCode map[string]interface{} `json:"dataCode"`
|
||||
OpenRule bool `json:"openRule"`
|
||||
Setting map[string]interface{} `json:"setting"`
|
||||
} `json:"lfData"`
|
||||
Id string
|
||||
LfData LfData `json:"lfData"`
|
||||
}
|
||||
|
||||
type LfData struct {
|
||||
GlobalColor string `json:"globalColor"`
|
||||
DataCode map[string]interface{} `json:"dataCode"`
|
||||
OpenRule bool `json:"openRule"`
|
||||
Setting map[string]interface{} `json:"setting"`
|
||||
}
|
||||
|
||||
// 序列化
|
||||
|
||||
Reference in New Issue
Block a user