添加费率接口

finance
杨赟 2 years ago
parent d3d514dad2
commit b4df0869a9

@ -20,3 +20,14 @@ func (r *rate) All(ctx context.Context) (result []RateItem, err error) {
err = client.GetClient(r).Call(ctx, "All", 0, &result)
return
}
type ArgsRateChannel struct {
ChannelId uint // 渠道id
RateId uint // 费率id
}
// Channel @Title 设置渠道利率
func (r *rate) Channel(ctx context.Context, args ArgsRateChannel) error {
reply := 0
return client.GetClient(r).Call(ctx, "Channel", args, &reply)
}

Loading…
Cancel
Save