|
|
@ -9,7 +9,7 @@ type callback struct {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// OtoSaas @Title 海旅回调
|
|
|
|
// 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)
|
|
|
|
xClient, err := client.GetClient(c)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return
|
|
|
|
return
|
|
|
@ -19,7 +19,7 @@ func (c *category) OtoSaas(ctx context.Context, args string) (reply string, err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Kuaidi100 @Title 快递100回调
|
|
|
|
// 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)
|
|
|
|
xClient, err := client.GetClient(c)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return
|
|
|
|
return
|
|
|
|