|
|
package tags
|
|
|
|
|
|
import (
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss/pkg/result"
|
|
|
"net/http"
|
|
|
|
|
|
"github.com/zeromicro/go-zero/rest/httpx"
|
...
|
...
|
@@ -19,10 +20,6 @@ func ArticleCategoryOptionsHandler(svcCtx *svc.ServiceContext) http.HandlerFunc |
|
|
|
|
|
l := tags.NewArticleCategoryOptionsLogic(r.Context(), svcCtx)
|
|
|
resp, err := l.ArticleCategoryOptions(&req)
|
|
|
if err != nil {
|
|
|
httpx.ErrorCtx(r.Context(), w, err)
|
|
|
} else {
|
|
|
httpx.OkJsonCtx(r.Context(), w, resp)
|
|
|
}
|
|
|
result.HttpResult(r, w, resp, err)
|
|
|
}
|
|
|
} |
...
|
...
|
|