|
@@ -114,6 +114,18 @@ type ApiClient interface {
|
|
|
STTDetailAllowDelCheck(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
STTDetailAllowDelCheck(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
// 商家上下课管理
|
|
// 商家上下课管理
|
|
|
CourseDetailQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
CourseDetailQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
|
|
+ ClassListByOrderDate(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
|
|
+ ClassStartPrepare(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
|
|
+ VipClassDetailQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
|
|
+ VipClassDetailAdd(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
|
|
+ VipClassDetailDel(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
|
|
+ TmpClassDetailAdd(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
|
|
+ TmpClassDetailDel(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
|
|
+ VipClassDetailStatueEdit(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
|
|
+ ClassStartConfirm(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
|
|
+ ClassOverConfirm(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
|
|
+ ClassGiveUpConfirm(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
|
|
+ AfterClassAddClassDetail(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
// 商家预约管理
|
|
// 商家预约管理
|
|
|
OrderListQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
OrderListQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
OrderAddByManager(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
OrderAddByManager(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
@@ -958,6 +970,114 @@ func (c *apiClient) CourseDetailQuery(ctx context.Context, in *StandardRequest,
|
|
|
return out, nil
|
|
return out, nil
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+func (c *apiClient) ClassListByOrderDate(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error) {
|
|
|
|
|
+ out := new(StandardReply)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/base.Api/ClassListByOrderDate", in, out, opts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *apiClient) ClassStartPrepare(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error) {
|
|
|
|
|
+ out := new(StandardReply)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/base.Api/ClassStartPrepare", in, out, opts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *apiClient) VipClassDetailQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error) {
|
|
|
|
|
+ out := new(StandardReply)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/base.Api/VipClassDetailQuery", in, out, opts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *apiClient) VipClassDetailAdd(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error) {
|
|
|
|
|
+ out := new(StandardReply)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/base.Api/VipClassDetailAdd", in, out, opts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *apiClient) VipClassDetailDel(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error) {
|
|
|
|
|
+ out := new(StandardReply)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/base.Api/VipClassDetailDel", in, out, opts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *apiClient) TmpClassDetailAdd(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error) {
|
|
|
|
|
+ out := new(StandardReply)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/base.Api/TmpClassDetailAdd", in, out, opts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *apiClient) TmpClassDetailDel(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error) {
|
|
|
|
|
+ out := new(StandardReply)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/base.Api/TmpClassDetailDel", in, out, opts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *apiClient) VipClassDetailStatueEdit(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error) {
|
|
|
|
|
+ out := new(StandardReply)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/base.Api/VipClassDetailStatueEdit", in, out, opts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *apiClient) ClassStartConfirm(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error) {
|
|
|
|
|
+ out := new(StandardReply)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/base.Api/ClassStartConfirm", in, out, opts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *apiClient) ClassOverConfirm(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error) {
|
|
|
|
|
+ out := new(StandardReply)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/base.Api/ClassOverConfirm", in, out, opts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *apiClient) ClassGiveUpConfirm(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error) {
|
|
|
|
|
+ out := new(StandardReply)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/base.Api/ClassGiveUpConfirm", in, out, opts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *apiClient) AfterClassAddClassDetail(ctx context.Context, in *CourseStandardRequest, opts ...grpc.CallOption) (*StandardReply, error) {
|
|
|
|
|
+ out := new(StandardReply)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/base.Api/AfterClassAddClassDetail", in, out, opts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
func (c *apiClient) OrderListQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error) {
|
|
func (c *apiClient) OrderListQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error) {
|
|
|
out := new(StandardReply)
|
|
out := new(StandardReply)
|
|
|
err := c.cc.Invoke(ctx, "/base.Api/OrderListQuery", in, out, opts...)
|
|
err := c.cc.Invoke(ctx, "/base.Api/OrderListQuery", in, out, opts...)
|
|
@@ -1238,6 +1358,18 @@ type ApiServer interface {
|
|
|
STTDetailAllowDelCheck(context.Context, *StandardRequest) (*StandardReply, error)
|
|
STTDetailAllowDelCheck(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
// 商家上下课管理
|
|
// 商家上下课管理
|
|
|
CourseDetailQuery(context.Context, *StandardRequest) (*StandardReply, error)
|
|
CourseDetailQuery(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
|
|
+ ClassListByOrderDate(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
|
|
+ ClassStartPrepare(context.Context, *CourseStandardRequest) (*StandardReply, error)
|
|
|
|
|
+ VipClassDetailQuery(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
|
|
+ VipClassDetailAdd(context.Context, *CourseStandardRequest) (*StandardReply, error)
|
|
|
|
|
+ VipClassDetailDel(context.Context, *CourseStandardRequest) (*StandardReply, error)
|
|
|
|
|
+ TmpClassDetailAdd(context.Context, *CourseStandardRequest) (*StandardReply, error)
|
|
|
|
|
+ TmpClassDetailDel(context.Context, *CourseStandardRequest) (*StandardReply, error)
|
|
|
|
|
+ VipClassDetailStatueEdit(context.Context, *CourseStandardRequest) (*StandardReply, error)
|
|
|
|
|
+ ClassStartConfirm(context.Context, *CourseStandardRequest) (*StandardReply, error)
|
|
|
|
|
+ ClassOverConfirm(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
|
|
+ ClassGiveUpConfirm(context.Context, *CourseStandardRequest) (*StandardReply, error)
|
|
|
|
|
+ AfterClassAddClassDetail(context.Context, *CourseStandardRequest) (*StandardReply, error)
|
|
|
// 商家预约管理
|
|
// 商家预约管理
|
|
|
OrderListQuery(context.Context, *StandardRequest) (*StandardReply, error)
|
|
OrderListQuery(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
OrderAddByManager(context.Context, *StandardRequest) (*StandardReply, error)
|
|
OrderAddByManager(context.Context, *StandardRequest) (*StandardReply, error)
|
|
@@ -1539,6 +1671,42 @@ func (UnimplementedApiServer) STTDetailAllowDelCheck(context.Context, *StandardR
|
|
|
func (UnimplementedApiServer) CourseDetailQuery(context.Context, *StandardRequest) (*StandardReply, error) {
|
|
func (UnimplementedApiServer) CourseDetailQuery(context.Context, *StandardRequest) (*StandardReply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CourseDetailQuery not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method CourseDetailQuery not implemented")
|
|
|
}
|
|
}
|
|
|
|
|
+func (UnimplementedApiServer) ClassListByOrderDate(context.Context, *StandardRequest) (*StandardReply, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method ClassListByOrderDate not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedApiServer) ClassStartPrepare(context.Context, *CourseStandardRequest) (*StandardReply, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method ClassStartPrepare not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedApiServer) VipClassDetailQuery(context.Context, *StandardRequest) (*StandardReply, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method VipClassDetailQuery not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedApiServer) VipClassDetailAdd(context.Context, *CourseStandardRequest) (*StandardReply, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method VipClassDetailAdd not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedApiServer) VipClassDetailDel(context.Context, *CourseStandardRequest) (*StandardReply, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method VipClassDetailDel not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedApiServer) TmpClassDetailAdd(context.Context, *CourseStandardRequest) (*StandardReply, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method TmpClassDetailAdd not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedApiServer) TmpClassDetailDel(context.Context, *CourseStandardRequest) (*StandardReply, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method TmpClassDetailDel not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedApiServer) VipClassDetailStatueEdit(context.Context, *CourseStandardRequest) (*StandardReply, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method VipClassDetailStatueEdit not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedApiServer) ClassStartConfirm(context.Context, *CourseStandardRequest) (*StandardReply, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method ClassStartConfirm not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedApiServer) ClassOverConfirm(context.Context, *StandardRequest) (*StandardReply, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method ClassOverConfirm not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedApiServer) ClassGiveUpConfirm(context.Context, *CourseStandardRequest) (*StandardReply, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method ClassGiveUpConfirm not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedApiServer) AfterClassAddClassDetail(context.Context, *CourseStandardRequest) (*StandardReply, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method AfterClassAddClassDetail not implemented")
|
|
|
|
|
+}
|
|
|
func (UnimplementedApiServer) OrderListQuery(context.Context, *StandardRequest) (*StandardReply, error) {
|
|
func (UnimplementedApiServer) OrderListQuery(context.Context, *StandardRequest) (*StandardReply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method OrderListQuery not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method OrderListQuery not implemented")
|
|
|
}
|
|
}
|
|
@@ -3232,6 +3400,222 @@ func _Api_CourseDetailQuery_Handler(srv interface{}, ctx context.Context, dec fu
|
|
|
return interceptor(ctx, in, info, handler)
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+func _Api_ClassListByOrderDate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(StandardRequest)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(ApiServer).ClassListByOrderDate(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: "/base.Api/ClassListByOrderDate",
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(ApiServer).ClassListByOrderDate(ctx, req.(*StandardRequest))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _Api_ClassStartPrepare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(CourseStandardRequest)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(ApiServer).ClassStartPrepare(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: "/base.Api/ClassStartPrepare",
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(ApiServer).ClassStartPrepare(ctx, req.(*CourseStandardRequest))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _Api_VipClassDetailQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(StandardRequest)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(ApiServer).VipClassDetailQuery(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: "/base.Api/VipClassDetailQuery",
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(ApiServer).VipClassDetailQuery(ctx, req.(*StandardRequest))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _Api_VipClassDetailAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(CourseStandardRequest)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(ApiServer).VipClassDetailAdd(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: "/base.Api/VipClassDetailAdd",
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(ApiServer).VipClassDetailAdd(ctx, req.(*CourseStandardRequest))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _Api_VipClassDetailDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(CourseStandardRequest)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(ApiServer).VipClassDetailDel(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: "/base.Api/VipClassDetailDel",
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(ApiServer).VipClassDetailDel(ctx, req.(*CourseStandardRequest))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _Api_TmpClassDetailAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(CourseStandardRequest)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(ApiServer).TmpClassDetailAdd(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: "/base.Api/TmpClassDetailAdd",
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(ApiServer).TmpClassDetailAdd(ctx, req.(*CourseStandardRequest))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _Api_TmpClassDetailDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(CourseStandardRequest)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(ApiServer).TmpClassDetailDel(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: "/base.Api/TmpClassDetailDel",
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(ApiServer).TmpClassDetailDel(ctx, req.(*CourseStandardRequest))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _Api_VipClassDetailStatueEdit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(CourseStandardRequest)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(ApiServer).VipClassDetailStatueEdit(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: "/base.Api/VipClassDetailStatueEdit",
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(ApiServer).VipClassDetailStatueEdit(ctx, req.(*CourseStandardRequest))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _Api_ClassStartConfirm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(CourseStandardRequest)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(ApiServer).ClassStartConfirm(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: "/base.Api/ClassStartConfirm",
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(ApiServer).ClassStartConfirm(ctx, req.(*CourseStandardRequest))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _Api_ClassOverConfirm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(StandardRequest)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(ApiServer).ClassOverConfirm(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: "/base.Api/ClassOverConfirm",
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(ApiServer).ClassOverConfirm(ctx, req.(*StandardRequest))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _Api_ClassGiveUpConfirm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(CourseStandardRequest)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(ApiServer).ClassGiveUpConfirm(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: "/base.Api/ClassGiveUpConfirm",
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(ApiServer).ClassGiveUpConfirm(ctx, req.(*CourseStandardRequest))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _Api_AfterClassAddClassDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(CourseStandardRequest)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(ApiServer).AfterClassAddClassDetail(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: "/base.Api/AfterClassAddClassDetail",
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(ApiServer).AfterClassAddClassDetail(ctx, req.(*CourseStandardRequest))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
func _Api_OrderListQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
func _Api_OrderListQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(StandardRequest)
|
|
in := new(StandardRequest)
|
|
|
if err := dec(in); err != nil {
|
|
if err := dec(in); err != nil {
|
|
@@ -3959,6 +4343,54 @@ var Api_ServiceDesc = grpc.ServiceDesc{
|
|
|
MethodName: "CourseDetailQuery",
|
|
MethodName: "CourseDetailQuery",
|
|
|
Handler: _Api_CourseDetailQuery_Handler,
|
|
Handler: _Api_CourseDetailQuery_Handler,
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "ClassListByOrderDate",
|
|
|
|
|
+ Handler: _Api_ClassListByOrderDate_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "ClassStartPrepare",
|
|
|
|
|
+ Handler: _Api_ClassStartPrepare_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "VipClassDetailQuery",
|
|
|
|
|
+ Handler: _Api_VipClassDetailQuery_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "VipClassDetailAdd",
|
|
|
|
|
+ Handler: _Api_VipClassDetailAdd_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "VipClassDetailDel",
|
|
|
|
|
+ Handler: _Api_VipClassDetailDel_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "TmpClassDetailAdd",
|
|
|
|
|
+ Handler: _Api_TmpClassDetailAdd_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "TmpClassDetailDel",
|
|
|
|
|
+ Handler: _Api_TmpClassDetailDel_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "VipClassDetailStatueEdit",
|
|
|
|
|
+ Handler: _Api_VipClassDetailStatueEdit_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "ClassStartConfirm",
|
|
|
|
|
+ Handler: _Api_ClassStartConfirm_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "ClassOverConfirm",
|
|
|
|
|
+ Handler: _Api_ClassOverConfirm_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "ClassGiveUpConfirm",
|
|
|
|
|
+ Handler: _Api_ClassGiveUpConfirm_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "AfterClassAddClassDetail",
|
|
|
|
|
+ Handler: _Api_AfterClassAddClassDetail_Handler,
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
MethodName: "OrderListQuery",
|
|
MethodName: "OrderListQuery",
|
|
|
Handler: _Api_OrderListQuery_Handler,
|
|
Handler: _Api_OrderListQuery_Handler,
|