diff --git a/otosaas/callback.go b/otosaas/callback.go index bb68a2e..214f334 100644 --- a/otosaas/callback.go +++ b/otosaas/callback.go @@ -9,7 +9,7 @@ type callback struct { } // OtoSaas @Title 海旅回调 -func (c *category) OtoSaas(ctx context.Context, args string) (reply string, err error) { +func (c *callback) OtoSaas(ctx context.Context, args string) (reply string, err error) { xClient, err := client.GetClient(c) if err != nil { return @@ -19,7 +19,7 @@ func (c *category) OtoSaas(ctx context.Context, args string) (reply string, err } // Kuaidi100 @Title 快递100回调 -func (c *category) Kuaidi100(ctx context.Context, args string) (reply string, err error) { +func (c *callback) Kuaidi100(ctx context.Context, args string) (reply string, err error) { xClient, err := client.GetClient(c) if err != nil { return