You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
service/jd/task.go

22 lines
409 B

package jd
import (
"context"
"git.oa00.com/supply-chain/service/client"
)
type task struct {
}
// PullSku @Title 拉取京东商品
func (t *task) PullSku(ctx context.Context) error {
a := 0
return client.GetClient(t).Call(ctx, "PullSku", 0, &a)
}
// SkuAdd @Title 添加商品到库
func (t *task) SkuAdd(ctx context.Context) error {
a := 0
return client.GetClient(t).Call(ctx, "SkuAdd", 0, &a)
}