添加返回数据

finance
杨赟 2 years ago
parent b4ded1cb44
commit f95bd8835e

@ -51,6 +51,8 @@ type SkuItem struct {
Profit decimal.Decimal `json:"profit"`
Status uint `json:"status"`
Handle uint `json:"handle"`
SupplyCategoryId uint `json:"supplyCategoryId"`
SupplyBrandId uint `json:"supplyBrandId"`
}
type ReplySkuList struct {
Lists []SkuItem `json:"lists"`
@ -63,6 +65,12 @@ func (s *sku) Lists(ctx context.Context, args ArgsSkuList) (reply ReplySkuList,
return
}
// Start @Title 开始处理
func (s *sku) Start(ctx context.Context, skuIds []uint) error {
reply := 0
return client.GetClient(s).Call(ctx, "Start", skuIds, &reply)
}
type ReplySkuInfo struct {
Id uint `json:"id"`
Name string `json:"name"`

Loading…
Cancel
Save