热门话题详情页面 - 热门话题系统
/**
-
定义HottopicpinglunMapper */ @RequestMapping(value = 'hottopicdetails') public String hottopicdetails(HttpServletRequest request, HttpSession session, HttpServletResponse response, int id, String backurl) {
// 输入日志信息,表名当前执行方法为HottopicController.hottopicdetails
logger.debug('HottopicController.hottopicdetails ......');
hottopicservice.hottopicdetails(request, session, id);
// 如果backurl不等于null且backurl不等于当前方法
if (backurl != null && backurl.indexOf('hottopicdetails.action') == -1) { // 返回backurl所对应的方法
return 'forward:/' + backurl;}
// 返回hottopicdetails return 'hottopicdetails'; }
原文地址: https://www.cveoy.top/t/topic/nTq2 著作权归作者所有。请勿转载和采集!