liuxiulin hace 2 años
padre
commit
b66900030d
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      pkg/models/rulechain.go

+ 2 - 2
pkg/models/rulechain.go

@@ -21,8 +21,8 @@ type RuleChain struct {
 
 // RuleChainParams 更新规则链参数
 type RuleChainParams struct {
-	VendorId string      `json:"vendor_id"` // 厂商id
-	RecordId string      `json:"record_id"` // 记录id
+	VendorId string      `json:"VendorID"` // 厂商id
+	RecordId string      `json:"RecordId"` // 记录id
 	Cell     interface{} `json:"cell"`
 	Cells    []*Cell
 }