|
@@ -3,6 +3,8 @@ package logic
|
|
|
import (
|
|
|
"context"
|
|
|
|
|
|
+ stdlibService "app.yhyue.com/moapp/jy_docs/services/stdlib"
|
|
|
+
|
|
|
"app.yhyue.com/moapp/jy_docs/rpc/stdlib/internal/svc"
|
|
|
"app.yhyue.com/moapp/jy_docs/rpc/stdlib/stdlib"
|
|
|
|
|
@@ -25,6 +27,6 @@ func NewDocGetCheckLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DocGe
|
|
|
|
|
|
func (l *DocGetCheckLogic) DocGetCheck(in *stdlib.DocGetCheckReq) (*stdlib.DocGetCheckResp, error) {
|
|
|
// todo: add your logic here and delete this line
|
|
|
-
|
|
|
- return &stdlib.DocGetCheckResp{}, nil
|
|
|
+ res := stdlibService.DocGetCheck(in.DocId, in.UserId)
|
|
|
+ return &res, nil
|
|
|
}
|