Explorar el Código

wip:移除保存列表模式接口

fuwencai hace 2 años
padre
commit
f5497198a6

+ 1 - 6
jyBXBase/api/bxbase.api

@@ -166,10 +166,5 @@ service bxbase-api {
 	@doc "收录情况"
 	@handler Included
 	post /jybx/base/included (IncludedReq) returns(CommonRes)
-	// 列表模式选择接口
-	@handler SaveListMode
-	post /jybx/base/:type/saveListMode (SaveListModeReq) returns(CommonRes)
-	// 获取列表模式接口
-	@handler ShowListMode
-	post /jybx/base/:type/showListMode (ShowListModeReq) returns(CommonRes)
+	
 }

+ 0 - 10
jyBXBase/api/internal/handler/routes.go

@@ -72,16 +72,6 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
 				Path:    "/jybx/base/included",
 				Handler: IncludedHandler(serverCtx),
 			},
-			{
-				Method:  http.MethodPost,
-				Path:    "/jybx/base/:type/saveListMode",
-				Handler: SaveListModeHandler(serverCtx),
-			},
-			{
-				Method:  http.MethodPost,
-				Path:    "/jybx/base/:type/showListMode",
-				Handler: ShowListModeHandler(serverCtx),
-			},
 		},
 	)
 }

+ 0 - 28
jyBXBase/api/internal/handler/saveListModeHandler.go

@@ -1,28 +0,0 @@
-package handler
-
-import (
-	"net/http"
-
-	"github.com/zeromicro/go-zero/rest/httpx"
-	"jyBXBase/api/internal/logic"
-	"jyBXBase/api/internal/svc"
-	"jyBXBase/api/internal/types"
-)
-
-func SaveListModeHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
-	return func(w http.ResponseWriter, r *http.Request) {
-		var req types.SaveListModeReq
-		if err := httpx.Parse(r, &req); err != nil {
-			httpx.Error(w, err)
-			return
-		}
-
-		l := logic.NewSaveListModeLogic(r.Context(), svcCtx)
-		resp, err := l.SaveListMode(&req)
-		if err != nil {
-			httpx.Error(w, err)
-		} else {
-			httpx.OkJson(w, resp)
-		}
-	}
-}

+ 0 - 28
jyBXBase/api/internal/handler/showListModeHandler.go

@@ -1,28 +0,0 @@
-package handler
-
-import (
-	"net/http"
-
-	"github.com/zeromicro/go-zero/rest/httpx"
-	"jyBXBase/api/internal/logic"
-	"jyBXBase/api/internal/svc"
-	"jyBXBase/api/internal/types"
-)
-
-func ShowListModeHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
-	return func(w http.ResponseWriter, r *http.Request) {
-		var req types.ShowListModeReq
-		if err := httpx.Parse(r, &req); err != nil {
-			httpx.Error(w, err)
-			return
-		}
-
-		l := logic.NewShowListModeLogic(r.Context(), svcCtx)
-		resp, err := l.ShowListMode(&req)
-		if err != nil {
-			httpx.Error(w, err)
-		} else {
-			httpx.OkJson(w, resp)
-		}
-	}
-}

+ 0 - 46
jyBXBase/api/internal/logic/saveListModeLogic.go

@@ -1,46 +0,0 @@
-package logic
-
-import (
-	"app.yhyue.com/moapp/jybase/common"
-	"context"
-	"jyBXBase/rpc/type/bxbase"
-
-	"jyBXBase/api/internal/svc"
-	"jyBXBase/api/internal/types"
-
-	"github.com/zeromicro/go-zero/core/logx"
-)
-
-type SaveListModeLogic struct {
-	logx.Logger
-	ctx    context.Context
-	svcCtx *svc.ServiceContext
-}
-
-func NewSaveListModeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SaveListModeLogic {
-	return &SaveListModeLogic{
-		Logger: logx.WithContext(ctx),
-		ctx:    ctx,
-		svcCtx: svcCtx,
-	}
-}
-
-func (l *SaveListModeLogic) SaveListMode(req *types.SaveListModeReq) (resp *types.CommonRes, err error) {
-	res, err0 := l.svcCtx.Bxbase.SaveListMode(l.ctx, &bxbase.SaveListModeReq{
-		UserId: req.UserId,
-		Type:   req.Type,
-		Mode:   int64(req.Mode),
-	})
-	if err0 != nil {
-		return &types.CommonRes{
-			Err_code: -1,
-			Err_msg:  "错误",
-			Data:     nil,
-		}, nil
-	}
-	return &types.CommonRes{
-		Err_code: common.IntAll(res.ErrCode),
-		Err_msg:  res.ErrMsg,
-		Data:     nil,
-	}, nil
-}

+ 0 - 45
jyBXBase/api/internal/logic/showListModeLogic.go

@@ -1,45 +0,0 @@
-package logic
-
-import (
-	"app.yhyue.com/moapp/jybase/common"
-	"context"
-	"jyBXBase/rpc/bxbase"
-
-	"jyBXBase/api/internal/svc"
-	"jyBXBase/api/internal/types"
-
-	"github.com/zeromicro/go-zero/core/logx"
-)
-
-type ShowListModeLogic struct {
-	logx.Logger
-	ctx    context.Context
-	svcCtx *svc.ServiceContext
-}
-
-func NewShowListModeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ShowListModeLogic {
-	return &ShowListModeLogic{
-		Logger: logx.WithContext(ctx),
-		ctx:    ctx,
-		svcCtx: svcCtx,
-	}
-}
-
-func (l *ShowListModeLogic) ShowListMode(req *types.ShowListModeReq) (resp *types.CommonRes, err error) {
-	res, err0 := l.svcCtx.Bxbase.ShowListMode(l.ctx, &bxbase.ShowListModeReq{
-		UserId: req.UserId,
-		Type:   req.Type,
-	})
-	if err0 != nil {
-		return &types.CommonRes{
-			Err_code: -1,
-			Err_msg:  err0.Error(),
-			Data:     nil,
-		}, nil
-	}
-	return &types.CommonRes{
-		Err_code: common.IntAll(res.ErrCode),
-		Err_msg:  res.ErrMsg,
-		Data:     common.IntAll(res.Data),
-	}, nil
-}

+ 0 - 4
jyBXBase/rpc/bxbase.proto

@@ -316,10 +316,6 @@ service bxbase {
 
   //剑鱼网站收录情况
   rpc Included (AppIdReq) returns(IncludedResp);
-  // 搜索/订阅 列表模式保存
-  rpc saveListMode(SaveListModeReq) returns(CommonRes);
-  // 搜索/订阅 列表模式获取
-  rpc showListMode(ShowListModeReq) returns(ShowListModeRes);
 
 
 }

+ 0 - 16
jyBXBase/rpc/bxbase/bxbase.go

@@ -71,10 +71,6 @@ type (
 		NewestBidding(ctx context.Context, in *NewestBiddingReq, opts ...grpc.CallOption) (*NewsetBiddingResp, error)
 		// 剑鱼网站收录情况
 		Included(ctx context.Context, in *AppIdReq, opts ...grpc.CallOption) (*IncludedResp, error)
-		//  搜索/订阅 列表模式保存
-		SaveListMode(ctx context.Context, in *SaveListModeReq, opts ...grpc.CallOption) (*CommonRes, error)
-		//  搜索/订阅 列表模式获取
-		ShowListMode(ctx context.Context, in *ShowListModeReq, opts ...grpc.CallOption) (*ShowListModeRes, error)
 	}
 
 	defaultBxbase struct {
@@ -159,15 +155,3 @@ func (m *defaultBxbase) Included(ctx context.Context, in *AppIdReq, opts ...grpc
 	client := bxbase.NewBxbaseClient(m.cli.Conn())
 	return client.Included(ctx, in, opts...)
 }
-
-//  搜索/订阅 列表模式保存
-func (m *defaultBxbase) SaveListMode(ctx context.Context, in *SaveListModeReq, opts ...grpc.CallOption) (*CommonRes, error) {
-	client := bxbase.NewBxbaseClient(m.cli.Conn())
-	return client.SaveListMode(ctx, in, opts...)
-}
-
-//  搜索/订阅 列表模式获取
-func (m *defaultBxbase) ShowListMode(ctx context.Context, in *ShowListModeReq, opts ...grpc.CallOption) (*ShowListModeRes, error) {
-	client := bxbase.NewBxbaseClient(m.cli.Conn())
-	return client.ShowListMode(ctx, in, opts...)
-}

+ 0 - 47
jyBXBase/rpc/internal/logic/savelistmodelogic.go

@@ -1,47 +0,0 @@
-package logic
-
-import (
-	"context"
-	"errors"
-	"jyBXBase/entity"
-	IC "jyBXBase/rpc/init"
-
-	"jyBXBase/rpc/internal/svc"
-	"jyBXBase/rpc/type/bxbase"
-
-	"github.com/zeromicro/go-zero/core/logx"
-)
-
-type SaveListModeLogic struct {
-	ctx    context.Context
-	svcCtx *svc.ServiceContext
-	logx.Logger
-}
-
-func NewSaveListModeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SaveListModeLogic {
-	return &SaveListModeLogic{
-		ctx:    ctx,
-		svcCtx: svcCtx,
-		Logger: logx.WithContext(ctx),
-	}
-}
-
-// SaveListMode 搜索/订阅 列表模式保存
-func (l *SaveListModeLogic) SaveListMode(in *bxbase.SaveListModeReq) (res *bxbase.CommonRes, err error) {
-	res = new(bxbase.CommonRes)
-	query := map[string]interface{}{
-		"user_id": in.UserId,
-		"type":    in.Type, // 类型 search-标讯搜索列表 subscribe-订阅列表
-	}
-	updateInfo := map[string]interface{}{
-		"$set": map[string]interface{}{
-			"mode": int(in.Mode)}, // 列表模式 0-精简列表 1-详细列表
-	}
-	// 存在则更新 不存在则保存一条新数据
-	b := IC.Mgo.Update(entity.ListModeCollection, query, updateInfo, true, false)
-	if !b {
-		res.ErrCode = 1
-		err = errors.New("保存失败")
-	}
-	return res, err
-}

+ 0 - 47
jyBXBase/rpc/internal/logic/showlistmodelogic.go

@@ -1,47 +0,0 @@
-package logic
-
-import (
-	"app.yhyue.com/moapp/jybase/common"
-	"context"
-	"errors"
-	"jyBXBase/entity"
-	IC "jyBXBase/rpc/init"
-
-	"jyBXBase/rpc/internal/svc"
-	"jyBXBase/rpc/type/bxbase"
-
-	"github.com/zeromicro/go-zero/core/logx"
-)
-
-type ShowListModeLogic struct {
-	ctx    context.Context
-	svcCtx *svc.ServiceContext
-	logx.Logger
-}
-
-func NewShowListModeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ShowListModeLogic {
-	return &ShowListModeLogic{
-		ctx:    ctx,
-		svcCtx: svcCtx,
-		Logger: logx.WithContext(ctx),
-	}
-}
-
-// ShowListMode 搜索/订阅 列表模式获取
-func (l *ShowListModeLogic) ShowListMode(in *bxbase.ShowListModeReq) (res *bxbase.ShowListModeRes, err error) {
-	res = new(bxbase.ShowListModeRes)
-	query := map[string]interface{}{
-		"user_id": in.UserId,
-		"type":    in.Type, // 类型 search-标讯搜索列表 subscribe-订阅列表
-	}
-	rs, b := IC.Mgo.FindOne(entity.ListModeCollection, query)
-	if !b {
-		res.ErrCode = 1
-		err = errors.New("获取失败")
-	} else {
-		if rs != nil {
-			res.Data = common.Int64All((*rs)["mode"])
-		}
-	}
-	return res, err
-}

+ 0 - 12
jyBXBase/rpc/internal/server/bxbaseserver.go

@@ -93,15 +93,3 @@ func (s *BxbaseServer) Included(ctx context.Context, in *bxbase.AppIdReq) (*bxba
 	l := logic.NewIncludedLogic(ctx, s.svcCtx)
 	return l.Included(in)
 }
-
-//  搜索/订阅 列表模式保存
-func (s *BxbaseServer) SaveListMode(ctx context.Context, in *bxbase.SaveListModeReq) (*bxbase.CommonRes, error) {
-	l := logic.NewSaveListModeLogic(ctx, s.svcCtx)
-	return l.SaveListMode(in)
-}
-
-//  搜索/订阅 列表模式获取
-func (s *BxbaseServer) ShowListMode(ctx context.Context, in *bxbase.ShowListModeReq) (*bxbase.ShowListModeRes, error) {
-	l := logic.NewShowListModeLogic(ctx, s.svcCtx)
-	return l.ShowListMode(in)
-}

+ 17 - 29
jyBXBase/rpc/type/bxbase/bxbase.pb.go

@@ -3235,7 +3235,7 @@ var file_bxbase_proto_rawDesc = []byte{
 	0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x5f,
 	0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73,
 	0x67, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
-	0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0xa5, 0x06, 0x0a, 0x06, 0x62, 0x78, 0x62, 0x61, 0x73, 0x65,
+	0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0xab, 0x05, 0x0a, 0x06, 0x62, 0x78, 0x62, 0x61, 0x73, 0x65,
 	0x12, 0x32, 0x0a, 0x08, 0x41, 0x64, 0x64, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x12, 0x2e, 0x62,
 	0x78, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x64, 0x64, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x71,
 	0x1a, 0x12, 0x2e, 0x62, 0x78, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x64, 0x64, 0x6c, 0x61, 0x62, 0x65,
@@ -3278,16 +3278,8 @@ var file_bxbase_proto_rawDesc = []byte{
 	0x70, 0x12, 0x30, 0x0a, 0x08, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x12, 0x0f, 0x2e,
 	0x62, 0x78, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x70, 0x70, 0x49, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x13,
 	0x2e, 0x62, 0x78, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x52,
-	0x65, 0x73, 0x70, 0x12, 0x38, 0x0a, 0x0c, 0x73, 0x61, 0x76, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x4d,
-	0x6f, 0x64, 0x65, 0x12, 0x16, 0x2e, 0x62, 0x78, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x61, 0x76, 0x65,
-	0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x62, 0x78,
-	0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x12, 0x3e, 0x0a,
-	0x0c, 0x73, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x2e,
-	0x62, 0x78, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f,
-	0x64, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x62, 0x78, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68,
-	0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x42, 0x0a, 0x5a,
-	0x08, 0x2e, 0x2f, 0x62, 0x78, 0x62, 0x61, 0x73, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
-	0x33,
+	0x65, 0x73, 0x70, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x62, 0x78, 0x62, 0x61, 0x73, 0x65, 0x62,
+	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
 }
 
 var (
@@ -3358,24 +3350,20 @@ var file_bxbase_proto_depIdxs = []int32{
 	20, // 17: bxcol.bxbase.DelSearch:input_type -> bxcol.DelSearchReq
 	21, // 18: bxcol.bxbase.NewestBidding:input_type -> bxcol.NewestBiddingReq
 	27, // 19: bxcol.bxbase.Included:input_type -> bxcol.AppIdReq
-	29, // 20: bxcol.bxbase.saveListMode:input_type -> bxcol.SaveListModeReq
-	30, // 21: bxcol.bxbase.showListMode:input_type -> bxcol.ShowListModeReq
-	1,  // 22: bxcol.bxbase.Addlabel:output_type -> bxcol.AddlabelRes
-	3,  // 23: bxcol.bxbase.GetLabelAction:output_type -> bxcol.GetLabelActionRes
-	6,  // 24: bxcol.bxbase.LabelAction:output_type -> bxcol.LabelActionRes
-	6,  // 25: bxcol.bxbase.BCAction:output_type -> bxcol.LabelActionRes
-	9,  // 26: bxcol.bxbase.IsCollAction:output_type -> bxcol.IsCollActionRes
-	13, // 27: bxcol.bxbase.List:output_type -> bxcol.ListRes
-	17, // 28: bxcol.bxbase.ShowSearch:output_type -> bxcol.ShowSearchRes
-	25, // 29: bxcol.bxbase.AddSearch:output_type -> bxcol.CommonRes
-	26, // 30: bxcol.bxbase.CheckSearch:output_type -> bxcol.CheckRes
-	25, // 31: bxcol.bxbase.DelSearch:output_type -> bxcol.CommonRes
-	22, // 32: bxcol.bxbase.NewestBidding:output_type -> bxcol.NewsetBiddingResp
-	28, // 33: bxcol.bxbase.Included:output_type -> bxcol.IncludedResp
-	25, // 34: bxcol.bxbase.saveListMode:output_type -> bxcol.CommonRes
-	31, // 35: bxcol.bxbase.showListMode:output_type -> bxcol.ShowListModeRes
-	22, // [22:36] is the sub-list for method output_type
-	8,  // [8:22] is the sub-list for method input_type
+	1,  // 20: bxcol.bxbase.Addlabel:output_type -> bxcol.AddlabelRes
+	3,  // 21: bxcol.bxbase.GetLabelAction:output_type -> bxcol.GetLabelActionRes
+	6,  // 22: bxcol.bxbase.LabelAction:output_type -> bxcol.LabelActionRes
+	6,  // 23: bxcol.bxbase.BCAction:output_type -> bxcol.LabelActionRes
+	9,  // 24: bxcol.bxbase.IsCollAction:output_type -> bxcol.IsCollActionRes
+	13, // 25: bxcol.bxbase.List:output_type -> bxcol.ListRes
+	17, // 26: bxcol.bxbase.ShowSearch:output_type -> bxcol.ShowSearchRes
+	25, // 27: bxcol.bxbase.AddSearch:output_type -> bxcol.CommonRes
+	26, // 28: bxcol.bxbase.CheckSearch:output_type -> bxcol.CheckRes
+	25, // 29: bxcol.bxbase.DelSearch:output_type -> bxcol.CommonRes
+	22, // 30: bxcol.bxbase.NewestBidding:output_type -> bxcol.NewsetBiddingResp
+	28, // 31: bxcol.bxbase.Included:output_type -> bxcol.IncludedResp
+	20, // [20:32] is the sub-list for method output_type
+	8,  // [8:20] is the sub-list for method input_type
 	8,  // [8:8] is the sub-list for extension type_name
 	8,  // [8:8] is the sub-list for extension extendee
 	0,  // [0:8] is the sub-list for field type_name

+ 0 - 76
jyBXBase/rpc/type/bxbase/bxbase_grpc.pb.go

@@ -46,10 +46,6 @@ type BxbaseClient interface {
 	NewestBidding(ctx context.Context, in *NewestBiddingReq, opts ...grpc.CallOption) (*NewsetBiddingResp, error)
 	//剑鱼网站收录情况
 	Included(ctx context.Context, in *AppIdReq, opts ...grpc.CallOption) (*IncludedResp, error)
-	// 搜索/订阅 列表模式保存
-	SaveListMode(ctx context.Context, in *SaveListModeReq, opts ...grpc.CallOption) (*CommonRes, error)
-	// 搜索/订阅 列表模式获取
-	ShowListMode(ctx context.Context, in *ShowListModeReq, opts ...grpc.CallOption) (*ShowListModeRes, error)
 }
 
 type bxbaseClient struct {
@@ -168,24 +164,6 @@ func (c *bxbaseClient) Included(ctx context.Context, in *AppIdReq, opts ...grpc.
 	return out, nil
 }
 
-func (c *bxbaseClient) SaveListMode(ctx context.Context, in *SaveListModeReq, opts ...grpc.CallOption) (*CommonRes, error) {
-	out := new(CommonRes)
-	err := c.cc.Invoke(ctx, "/bxcol.bxbase/saveListMode", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
-func (c *bxbaseClient) ShowListMode(ctx context.Context, in *ShowListModeReq, opts ...grpc.CallOption) (*ShowListModeRes, error) {
-	out := new(ShowListModeRes)
-	err := c.cc.Invoke(ctx, "/bxcol.bxbase/showListMode", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
 // BxbaseServer is the server API for Bxbase service.
 // All implementations must embed UnimplementedBxbaseServer
 // for forward compatibility
@@ -214,10 +192,6 @@ type BxbaseServer interface {
 	NewestBidding(context.Context, *NewestBiddingReq) (*NewsetBiddingResp, error)
 	//剑鱼网站收录情况
 	Included(context.Context, *AppIdReq) (*IncludedResp, error)
-	// 搜索/订阅 列表模式保存
-	SaveListMode(context.Context, *SaveListModeReq) (*CommonRes, error)
-	// 搜索/订阅 列表模式获取
-	ShowListMode(context.Context, *ShowListModeReq) (*ShowListModeRes, error)
 	mustEmbedUnimplementedBxbaseServer()
 }
 
@@ -261,12 +235,6 @@ func (UnimplementedBxbaseServer) NewestBidding(context.Context, *NewestBiddingRe
 func (UnimplementedBxbaseServer) Included(context.Context, *AppIdReq) (*IncludedResp, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method Included not implemented")
 }
-func (UnimplementedBxbaseServer) SaveListMode(context.Context, *SaveListModeReq) (*CommonRes, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method SaveListMode not implemented")
-}
-func (UnimplementedBxbaseServer) ShowListMode(context.Context, *ShowListModeReq) (*ShowListModeRes, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method ShowListMode not implemented")
-}
 func (UnimplementedBxbaseServer) mustEmbedUnimplementedBxbaseServer() {}
 
 // UnsafeBxbaseServer may be embedded to opt out of forward compatibility for this service.
@@ -496,42 +464,6 @@ func _Bxbase_Included_Handler(srv interface{}, ctx context.Context, dec func(int
 	return interceptor(ctx, in, info, handler)
 }
 
-func _Bxbase_SaveListMode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(SaveListModeReq)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(BxbaseServer).SaveListMode(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/bxcol.bxbase/saveListMode",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(BxbaseServer).SaveListMode(ctx, req.(*SaveListModeReq))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
-func _Bxbase_ShowListMode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(ShowListModeReq)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(BxbaseServer).ShowListMode(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/bxcol.bxbase/showListMode",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(BxbaseServer).ShowListMode(ctx, req.(*ShowListModeReq))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
 // Bxbase_ServiceDesc is the grpc.ServiceDesc for Bxbase service.
 // It's only intended for direct use with grpc.RegisterService,
 // and not to be introspected or modified (even as a copy)
@@ -587,14 +519,6 @@ var Bxbase_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "Included",
 			Handler:    _Bxbase_Included_Handler,
 		},
-		{
-			MethodName: "saveListMode",
-			Handler:    _Bxbase_SaveListMode_Handler,
-		},
-		{
-			MethodName: "showListMode",
-			Handler:    _Bxbase_ShowListMode_Handler,
-		},
 	},
 	Streams:  []grpc.StreamDesc{},
 	Metadata: "bxbase.proto",