public String toProblemDetail(HttpServletRequest request, HttpServletResponse response , ModelMap modelMap) { String id = request.getParameter("id");//问题id try { //查询课程问答和习题 Map<String,String> param = new HashMap<String,String>(); param.put("id", id); Map<String, Object> problemMap = classifyDetailsService.updateProblem(param); modelMap.put("problemMap", problemMap); } catch (Exception e) { e.printStackTrace(); } return "business/kcxq/problemDetail"; }<div id="js-qa-comment-input" class="qa-comment-input js-msg-context clearfix"> <div class="qa-ci-avator l js-header-avator"> <a href="javaScript:void(0);"> <img src="images/common/jpx/photo.jpg" width="40" height="40"> </a> </div> <div class="qa-ci-wrap"> <!-- <div id="js-reply-editor-box" class="qa-comment-box js-ci-inner edui-imooc"></div> --> <textarea name="problem_detail" cols="30" rows="10" id="problem_detail" class="qa-tips" placeholder="请输入问题内容..."></textarea> <div id="js-qa-ci-footer" class="qa-ci-footer clearfix"> <div class="qa-ci-footright r"> <div class="captcha-verify-box js-verify-box hide"></div> <span class="qa-tips"></span> <button id="js-qa-ci-submit" onclick="addProblemReply();" class="comment-btn">回答</button> </div> </div> </div> </div>
添加回答
举报
0/150
提交
取消