12345678910111213141516171819202122232425262728293031323334353637383940 |
- package logic
- import (
- "context"
- <<<<<<< HEAD
- "github.com/zeromicro/go-zero/core/logx"
- "knowledgeBase/rpc/knowledge/knowledgeclient"
- =======
- "knowledgeBase/rpc/knowledge/knowledgeclient"
- "github.com/tal-tech/go-zero/core/logx"
- >>>>>>> origin/master
- "knowledgeBase/rpc/knowledge/internal/svc"
- )
- type KnowledgEditLogic struct {
- ctx context.Context
- svcCtx *svc.ServiceContext
- logx.Logger
- }
- func NewKnowledgEditLogic(ctx context.Context, svcCtx *svc.ServiceContext) *KnowledgEditLogic {
- return &KnowledgEditLogic{
- ctx: ctx,
- svcCtx: svcCtx,
- Logger: logx.WithContext(ctx),
- }
- }
- // 知识编辑
- <<<<<<< HEAD
- func (l *KnowledgEditLogic) KnowledgEdit(in *knowledgeclient.Knowledge) (*knowledgeclient.AddResponse, error) {
- =======
- func (l *KnowledgEditLogic) KnowledgEdit(in *knowledgeclient.KnowledgeEntity) (*knowledgeclient.AddResponse, error) {
- >>>>>>> origin/master
- // todo: add your logic here and delete this line
- return &knowledgeclient.AddResponse{}, nil
- }
|