commonphraseslistlogic.go 853 B

123456789101112131415161718192021222324252627282930
  1. package logic
  2. import (
  3. "bp.jydev.jianyu360.cn/SocialPlatform/knowledgeBase/rpc/knowledge/knowledgeclient"
  4. "context"
  5. "github.com/zeromicro/go-zero/core/logx"
  6. "bp.jydev.jianyu360.cn/SocialPlatform/knowledgeBase/rpc/knowledge/internal/svc"
  7. )
  8. type CommonPhrasesListLogic struct {
  9. ctx context.Context
  10. svcCtx *svc.ServiceContext
  11. logx.Logger
  12. }
  13. func NewCommonPhrasesListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CommonPhrasesListLogic {
  14. return &CommonPhrasesListLogic{
  15. ctx: ctx,
  16. svcCtx: svcCtx,
  17. Logger: logx.WithContext(ctx),
  18. }
  19. }
  20. // CommonPhrasesList 客服话术列表
  21. func (l *CommonPhrasesListLogic) CommonPhrasesList(in *knowledgeclient.CommonPhrasesListReq) (*knowledgeclient.CommonPhrasesListResp, error) {
  22. // todo: add your logic here and delete this line
  23. return &knowledgeclient.CommonPhrasesListResp{}, nil
  24. }