添加返回数据

finance
杨赟 2 years ago
parent b4ded1cb44
commit f95bd8835e

@ -51,6 +51,8 @@ type SkuItem struct {
Profit decimal.Decimal `json:"profit"` Profit decimal.Decimal `json:"profit"`
Status uint `json:"status"` Status uint `json:"status"`
Handle uint `json:"handle"` Handle uint `json:"handle"`
SupplyCategoryId uint `json:"supplyCategoryId"`
SupplyBrandId uint `json:"supplyBrandId"`
} }
type ReplySkuList struct { type ReplySkuList struct {
Lists []SkuItem `json:"lists"` Lists []SkuItem `json:"lists"`
@ -63,6 +65,12 @@ func (s *sku) Lists(ctx context.Context, args ArgsSkuList) (reply ReplySkuList,
return 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 { type ReplySkuInfo struct {
Id uint `json:"id"` Id uint `json:"id"`
Name string `json:"name"` Name string `json:"name"`

Loading…
Cancel
Save