|
|
|
@ -37,3 +37,18 @@ func (t *task) RefreshToken(ctx context.Context) error {
|
|
|
|
|
}
|
|
|
|
|
return xClient.Call(ctx, "RefreshToken", 0, &a)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ReplySkuAddStatus struct {
|
|
|
|
|
Total uint
|
|
|
|
|
Count uint
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// GetSkuAddStatus @Title 获取同步状态
|
|
|
|
|
func (t *task) GetSkuAddStatus(ctx context.Context) (reply ReplySkuAddStatus, err error) {
|
|
|
|
|
xClient, err := client.GetClient(t)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
err = xClient.Call(ctx, "GetSkuAddStatus", 0, &reply)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|