Skip to content

Commit

Permalink
feat: update ConfigItem.Id type to be compatible with Nacos v1.2 serv…
Browse files Browse the repository at this point in the history
…er (#569)
  • Loading branch information
dspo authored Feb 15, 2023
1 parent 475201a commit 4464edc
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions model/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,18 @@

package model

import (
"encoding/json"
)

type ConfigItem struct {
Id string `param:"id"`
DataId string `param:"dataId"`
Group string `param:"group"`
Content string `param:"content"`
Md5 string `param:"md5"`
Tenant string `param:"tenant"`
Appname string `param:"appname"`
Id json.Number `param:"id"`
DataId string `param:"dataId"`
Group string `param:"group"`
Content string `param:"content"`
Md5 string `param:"md5"`
Tenant string `param:"tenant"`
Appname string `param:"appname"`
}
type ConfigPage struct {
TotalCount int `param:"totalCount"`
Expand Down

0 comments on commit 4464edc

Please sign in to comment.