refactor: localize protobuf definitions

This commit is contained in:
2026-08-09 20:14:57 +08:00
parent 9f6f318bbb
commit 5ea45a76fe
429 changed files with 54058 additions and 61623 deletions

View File

@@ -2,9 +2,9 @@
package server
import (
"context"
"bsm/full/module/base/cms/internal/logic/post"
pb "bsm/full/module/base/cms/pb"
"context"
)
type PostServer struct {
@@ -31,7 +31,7 @@ func (s *PostServer) GetByKey(ctx context.Context, in *pb.GetPostByKeyRequest) (
}
// 搜索文章
func (s *PostServer) Search(ctx context.Context, in *pb.SearchRequest) (*pb.PostListReply, error) {
func (s *PostServer) Search(ctx context.Context, in *pb.CmsSearchRequest) (*pb.PostListReply, error) {
return post.Search(ctx, in)
}