@ -49,11 +49,12 @@ type TypeItem struct {
}
// 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)
if err != nil {
return nil, err
err = xClient.Call(ctx, "All", id, &reply)
args := 0
err = xClient.Call(ctx, "All", args, &reply)
return