|
|
package article
|
|
|
|
|
|
import (
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss/pkg/contextdata"
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss/pkg/result"
|
|
|
"net/http"
|
|
|
|
...
|
...
|
@@ -17,7 +18,8 @@ func SystemSearchArticleDraftHandler(svcCtx *svc.ServiceContext) http.HandlerFun |
|
|
httpx.ErrorCtx(r.Context(), w, err)
|
|
|
return
|
|
|
}
|
|
|
|
|
|
userToken := contextdata.GetUserTokenFromCtx(r.Context())
|
|
|
req.CompanyId = userToken.CompanyId
|
|
|
l := article.NewSystemSearchArticleDraftLogic(r.Context(), svcCtx)
|
|
|
resp, err := l.SystemSearchArticleDraft(&req)
|
|
|
result.HttpResult(r, w, resp, err)
|
...
|
...
|
|