|
@@ -5,7 +5,7 @@ import (
|
|
|
|
|
|
"app.yhyue.com/moapp/jydocs/rpc/stdlib/internal/svc"
|
|
|
"app.yhyue.com/moapp/jydocs/rpc/stdlib/stdlib"
|
|
|
-
|
|
|
+ stdlibService "app.yhyue.com/moapp/jydocs/services/stdlib"
|
|
|
"github.com/tal-tech/go-zero/core/logx"
|
|
|
)
|
|
|
|
|
@@ -25,6 +25,6 @@ func NewDocGetContentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Doc
|
|
|
|
|
|
func (l *DocGetContentLogic) DocGetContent(in *stdlib.DocGetCheckReq) (*stdlib.DocGetContentResp, error) {
|
|
|
// todo: add your logic here and delete this line
|
|
|
-
|
|
|
- return &stdlib.DocGetContentResp{}, nil
|
|
|
+ res := stdlibService.DocGetContent(in.DocId, in.UserId)
|
|
|
+ return &res, nil
|
|
|
}
|