添加回调接口

finance
杨赟 2 years ago
parent 3ef221bcd0
commit ed4e5ee0ab

@ -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

Loading…
Cancel
Save