|
|
@@ -29,7 +29,7 @@ type ApiClient interface {
|
|
|
VipUserSimpleQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
TempVipUserSimpleQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
ShopSimpleQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
- ManageableSimpleQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
+ ManageableSimpleQuery(ctx context.Context, in *ManageableSimpleQueryRequest, opts ...grpc.CallOption) (*ManageableSimpleQueryReply, error)
|
|
|
ClassSimpleQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
ScreenSimpleQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
GroupSimpleQueryByShopID(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
@@ -244,8 +244,8 @@ func (c *apiClient) ShopSimpleQuery(ctx context.Context, in *StandardRequest, op
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
-func (c *apiClient) ManageableSimpleQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error) {
|
|
|
- out := new(StandardReply)
|
|
|
+func (c *apiClient) ManageableSimpleQuery(ctx context.Context, in *ManageableSimpleQueryRequest, opts ...grpc.CallOption) (*ManageableSimpleQueryReply, error) {
|
|
|
+ out := new(ManageableSimpleQueryReply)
|
|
|
err := c.cc.Invoke(ctx, "/base.Api/ManageableSimpleQuery", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
@@ -1303,7 +1303,7 @@ type ApiServer interface {
|
|
|
VipUserSimpleQuery(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
TempVipUserSimpleQuery(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
ShopSimpleQuery(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
- ManageableSimpleQuery(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
+ ManageableSimpleQuery(context.Context, *ManageableSimpleQueryRequest) (*ManageableSimpleQueryReply, error)
|
|
|
ClassSimpleQuery(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
ScreenSimpleQuery(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
GroupSimpleQueryByShopID(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
@@ -1461,7 +1461,7 @@ func (UnimplementedApiServer) TempVipUserSimpleQuery(context.Context, *StandardR
|
|
|
func (UnimplementedApiServer) ShopSimpleQuery(context.Context, *StandardRequest) (*StandardReply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ShopSimpleQuery not implemented")
|
|
|
}
|
|
|
-func (UnimplementedApiServer) ManageableSimpleQuery(context.Context, *StandardRequest) (*StandardReply, error) {
|
|
|
+func (UnimplementedApiServer) ManageableSimpleQuery(context.Context, *ManageableSimpleQueryRequest) (*ManageableSimpleQueryReply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ManageableSimpleQuery not implemented")
|
|
|
}
|
|
|
func (UnimplementedApiServer) ClassSimpleQuery(context.Context, *StandardRequest) (*StandardReply, error) {
|
|
|
@@ -1985,7 +1985,7 @@ func _Api_ShopSimpleQuery_Handler(srv interface{}, ctx context.Context, dec func
|
|
|
}
|
|
|
|
|
|
func _Api_ManageableSimpleQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(StandardRequest)
|
|
|
+ in := new(ManageableSimpleQueryRequest)
|
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
@@ -1997,7 +1997,7 @@ func _Api_ManageableSimpleQuery_Handler(srv interface{}, ctx context.Context, de
|
|
|
FullMethod: "/base.Api/ManageableSimpleQuery",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(ApiServer).ManageableSimpleQuery(ctx, req.(*StandardRequest))
|
|
|
+ return srv.(ApiServer).ManageableSimpleQuery(ctx, req.(*ManageableSimpleQueryRequest))
|
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|