finance
黄伟 2 years ago
parent e232f8d9d5
commit 083217cca1

@ -49,11 +49,12 @@ type TypeItem struct {
} }
// All @Title 全部分类 // All @Title 全部分类
func (s *skuType) All(ctx context.Context, id uint) (reply []TypeItem, err error) { func (s *skuType) All(ctx context.Context) (reply []TypeItem, err error) {
xClient, err := client.GetClient(s) xClient, err := client.GetClient(s)
if err != nil { if err != nil {
return nil, err return nil, err
} }
err = xClient.Call(ctx, "All", id, &reply) args := 0
err = xClient.Call(ctx, "All", args, &reply)
return return
} }

Loading…
Cancel
Save