|
|
|
|
@ -26,8 +26,10 @@ import cn.hutool.core.util.PageUtil; |
|
|
|
|
import freemarker.core.ParseException; |
|
|
|
|
import freemarker.template.MalformedTemplateNameException; |
|
|
|
|
import freemarker.template.TemplateNotFoundException; |
|
|
|
|
import net.mingsoft.base.constant.Const; |
|
|
|
|
import net.mingsoft.basic.util.BasicUtil; |
|
|
|
|
import net.mingsoft.basic.util.SpringUtil; |
|
|
|
|
import net.mingsoft.basic.util.StringUtil; |
|
|
|
|
import net.mingsoft.cms.bean.ContentBean; |
|
|
|
|
import net.mingsoft.cms.biz.ICategoryBiz; |
|
|
|
|
import net.mingsoft.cms.biz.IContentBiz; |
|
|
|
|
@ -39,19 +41,19 @@ import net.mingsoft.mdiy.biz.IContentModelBiz; |
|
|
|
|
import net.mingsoft.mdiy.biz.IModelBiz; |
|
|
|
|
import net.mingsoft.mdiy.biz.IPageBiz; |
|
|
|
|
import net.mingsoft.mdiy.entity.ContentModelEntity; |
|
|
|
|
import net.mingsoft.mdiy.entity.ModelEntity; |
|
|
|
|
import net.mingsoft.mdiy.entity.PageEntity; |
|
|
|
|
import net.mingsoft.mdiy.parser.TagParser; |
|
|
|
|
import net.mingsoft.mdiy.util.ParserUtil; |
|
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
|
import org.springframework.web.bind.annotation.ExceptionHandler; |
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
|
import org.springframework.web.bind.annotation.PathVariable; |
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest; |
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
|
import java.io.IOException; |
|
|
|
|
import java.io.UnsupportedEncodingException; |
|
|
|
|
import java.util.*; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|