|
|
@@ -33,6 +33,7 @@ type ApiClient interface {
|
|
|
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)
|
|
|
+ EqSimpleQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
// 商家信息管理
|
|
|
ManageableShopList(ctx context.Context, in *ShopListRequest, opts ...grpc.CallOption) (*ShopListReply, error)
|
|
|
ManageableGetShopInfo(ctx context.Context, in *ShopDetailRequest, opts ...grpc.CallOption) (*ShopInfo, error)
|
|
|
@@ -280,6 +281,15 @@ func (c *apiClient) GroupSimpleQueryByShopID(ctx context.Context, in *StandardRe
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
+func (c *apiClient) EqSimpleQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error) {
|
|
|
+ out := new(StandardReply)
|
|
|
+ err := c.cc.Invoke(ctx, "/base.Api/EqSimpleQuery", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
func (c *apiClient) ManageableShopList(ctx context.Context, in *ShopListRequest, opts ...grpc.CallOption) (*ShopListReply, error) {
|
|
|
out := new(ShopListReply)
|
|
|
err := c.cc.Invoke(ctx, "/base.Api/ManageableShopList", in, out, opts...)
|
|
|
@@ -1307,6 +1317,7 @@ type ApiServer interface {
|
|
|
ClassSimpleQuery(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
ScreenSimpleQuery(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
GroupSimpleQueryByShopID(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
+ EqSimpleQuery(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
// 商家信息管理
|
|
|
ManageableShopList(context.Context, *ShopListRequest) (*ShopListReply, error)
|
|
|
ManageableGetShopInfo(context.Context, *ShopDetailRequest) (*ShopInfo, error)
|
|
|
@@ -1473,6 +1484,9 @@ func (UnimplementedApiServer) ScreenSimpleQuery(context.Context, *StandardReques
|
|
|
func (UnimplementedApiServer) GroupSimpleQueryByShopID(context.Context, *StandardRequest) (*StandardReply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GroupSimpleQueryByShopID not implemented")
|
|
|
}
|
|
|
+func (UnimplementedApiServer) EqSimpleQuery(context.Context, *StandardRequest) (*StandardReply, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method EqSimpleQuery not implemented")
|
|
|
+}
|
|
|
func (UnimplementedApiServer) ManageableShopList(context.Context, *ShopListRequest) (*ShopListReply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ManageableShopList not implemented")
|
|
|
}
|
|
|
@@ -2056,6 +2070,24 @@ func _Api_GroupSimpleQueryByShopID_Handler(srv interface{}, ctx context.Context,
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
+func _Api_EqSimpleQuery_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).EqSimpleQuery(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/base.Api/EqSimpleQuery",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(ApiServer).EqSimpleQuery(ctx, req.(*StandardRequest))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
func _Api_ManageableShopList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(ShopListRequest)
|
|
|
if err := dec(in); err != nil {
|
|
|
@@ -4131,6 +4163,10 @@ var Api_ServiceDesc = grpc.ServiceDesc{
|
|
|
MethodName: "GroupSimpleQueryByShopID",
|
|
|
Handler: _Api_GroupSimpleQueryByShopID_Handler,
|
|
|
},
|
|
|
+ {
|
|
|
+ MethodName: "EqSimpleQuery",
|
|
|
+ Handler: _Api_EqSimpleQuery_Handler,
|
|
|
+ },
|
|
|
{
|
|
|
MethodName: "ManageableShopList",
|
|
|
Handler: _Api_ManageableShopList_Handler,
|