diff --git a/supply/setting/rate.go b/supply/setting/rate.go index 5d4f688..07717b5 100644 --- a/supply/setting/rate.go +++ b/supply/setting/rate.go @@ -26,12 +26,12 @@ func (r *rate) All(ctx context.Context) (result []RateItem, err error) { } // Get @Title 获取利率信息 -func (r *rate) Get(ctx context.Context) (result RateItem, err error) { +func (r *rate) Get(ctx context.Context, rateId uint) (result RateItem, err error) { xClient, err := client.GetClient(r) if err != nil { return } - err = xClient.Call(ctx, "Get", 0, &result) + err = xClient.Call(ctx, "Get", rateId, &result) return }