finance
黄伟 2 years ago
parent 0eadf431dc
commit f27f2ad0e7

@ -35,3 +35,19 @@ func (s *service) All(ctx context.Context, customerId uint) (reply []ReplyServic
err = xClient.Call(ctx, "All", customerId, &reply) err = xClient.Call(ctx, "All", customerId, &reply)
return return
} }
type ReplyServiceSelect struct {
Id uint `json:"id"`
Name string `json:"name"`
}
// Select @Title 服务筛选
func (s *service) Select(ctx context.Context) (reply []ReplyServiceSelect, err error) {
xClient, err := client.GetClient(s)
if err != nil {
return
}
args := 0
err = xClient.Call(ctx, "Select", args, &reply)
return
}

Loading…
Cancel
Save