|
|
@@ -34,6 +34,9 @@ type ApiClient interface {
|
|
|
ScreenSimpleQuery(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)
|
|
|
+ ShopLicenseList(ctx context.Context, in *ShopDetailRequest, opts ...grpc.CallOption) (*LicenseList, error)
|
|
|
+ ShopLicenseTypeMap(ctx context.Context, in *IdList, opts ...grpc.CallOption) (*LicenseTypeMapReply, error)
|
|
|
GetShopNavi(ctx context.Context, in *GetShopNaviRequest, opts ...grpc.CallOption) (*GetShopNaviReply, error)
|
|
|
ShopGroupQuery(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
ShopGroupAdd(ctx context.Context, in *StandardRequest, opts ...grpc.CallOption) (*StandardReply, error)
|
|
|
@@ -256,6 +259,33 @@ func (c *apiClient) ManageableShopList(ctx context.Context, in *ShopListRequest,
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
+func (c *apiClient) ManageableGetShopInfo(ctx context.Context, in *ShopDetailRequest, opts ...grpc.CallOption) (*ShopInfo, error) {
|
|
|
+ out := new(ShopInfo)
|
|
|
+ err := c.cc.Invoke(ctx, "/base.Api/ManageableGetShopInfo", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *apiClient) ShopLicenseList(ctx context.Context, in *ShopDetailRequest, opts ...grpc.CallOption) (*LicenseList, error) {
|
|
|
+ out := new(LicenseList)
|
|
|
+ err := c.cc.Invoke(ctx, "/base.Api/ShopLicenseList", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *apiClient) ShopLicenseTypeMap(ctx context.Context, in *IdList, opts ...grpc.CallOption) (*LicenseTypeMapReply, error) {
|
|
|
+ out := new(LicenseTypeMapReply)
|
|
|
+ err := c.cc.Invoke(ctx, "/base.Api/ShopLicenseTypeMap", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
func (c *apiClient) GetShopNavi(ctx context.Context, in *GetShopNaviRequest, opts ...grpc.CallOption) (*GetShopNaviReply, error) {
|
|
|
out := new(GetShopNaviReply)
|
|
|
err := c.cc.Invoke(ctx, "/base.Api/GetShopNavi", in, out, opts...)
|
|
|
@@ -1077,6 +1107,9 @@ type ApiServer interface {
|
|
|
ScreenSimpleQuery(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
// 商家信息管理
|
|
|
ManageableShopList(context.Context, *ShopListRequest) (*ShopListReply, error)
|
|
|
+ ManageableGetShopInfo(context.Context, *ShopDetailRequest) (*ShopInfo, error)
|
|
|
+ ShopLicenseList(context.Context, *ShopDetailRequest) (*LicenseList, error)
|
|
|
+ ShopLicenseTypeMap(context.Context, *IdList) (*LicenseTypeMapReply, error)
|
|
|
GetShopNavi(context.Context, *GetShopNaviRequest) (*GetShopNaviReply, error)
|
|
|
ShopGroupQuery(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
ShopGroupAdd(context.Context, *StandardRequest) (*StandardReply, error)
|
|
|
@@ -1218,6 +1251,15 @@ func (UnimplementedApiServer) ScreenSimpleQuery(context.Context, *StandardReques
|
|
|
func (UnimplementedApiServer) ManageableShopList(context.Context, *ShopListRequest) (*ShopListReply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ManageableShopList not implemented")
|
|
|
}
|
|
|
+func (UnimplementedApiServer) ManageableGetShopInfo(context.Context, *ShopDetailRequest) (*ShopInfo, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method ManageableGetShopInfo not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedApiServer) ShopLicenseList(context.Context, *ShopDetailRequest) (*LicenseList, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method ShopLicenseList not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedApiServer) ShopLicenseTypeMap(context.Context, *IdList) (*LicenseTypeMapReply, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method ShopLicenseTypeMap not implemented")
|
|
|
+}
|
|
|
func (UnimplementedApiServer) GetShopNavi(context.Context, *GetShopNaviRequest) (*GetShopNaviReply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetShopNavi not implemented")
|
|
|
}
|
|
|
@@ -1732,6 +1774,60 @@ func _Api_ManageableShopList_Handler(srv interface{}, ctx context.Context, dec f
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
+func _Api_ManageableGetShopInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(ShopDetailRequest)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(ApiServer).ManageableGetShopInfo(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/base.Api/ManageableGetShopInfo",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(ApiServer).ManageableGetShopInfo(ctx, req.(*ShopDetailRequest))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _Api_ShopLicenseList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(ShopDetailRequest)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(ApiServer).ShopLicenseList(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/base.Api/ShopLicenseList",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(ApiServer).ShopLicenseList(ctx, req.(*ShopDetailRequest))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _Api_ShopLicenseTypeMap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(IdList)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(ApiServer).ShopLicenseTypeMap(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/base.Api/ShopLicenseTypeMap",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(ApiServer).ShopLicenseTypeMap(ctx, req.(*IdList))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
func _Api_GetShopNavi_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(GetShopNaviRequest)
|
|
|
if err := dec(in); err != nil {
|
|
|
@@ -3393,6 +3489,18 @@ var Api_ServiceDesc = grpc.ServiceDesc{
|
|
|
MethodName: "ManageableShopList",
|
|
|
Handler: _Api_ManageableShopList_Handler,
|
|
|
},
|
|
|
+ {
|
|
|
+ MethodName: "ManageableGetShopInfo",
|
|
|
+ Handler: _Api_ManageableGetShopInfo_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "ShopLicenseList",
|
|
|
+ Handler: _Api_ShopLicenseList_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "ShopLicenseTypeMap",
|
|
|
+ Handler: _Api_ShopLicenseTypeMap_Handler,
|
|
|
+ },
|
|
|
{
|
|
|
MethodName: "GetShopNavi",
|
|
|
Handler: _Api_GetShopNavi_Handler,
|