package setting import ( "context" "git.oa00.com/supply-chain/service/client" "github.com/shopspring/decimal" ) type rate struct { } type RateItem struct { Id uint `json:"id"` Name string `json:"name"` Rate decimal.Decimal `json:"rate"` } // All @Title 全部利率 func (r *rate) All(ctx context.Context) (result []RateItem, err error) { err = client.GetClient(r).Call(ctx, "All", 0, &result) return }