Commit 77ca0e48 authored by frank.xa.zhang's avatar frank.xa.zhang

fixed backend issue

parent e66d5cc3
......@@ -56,7 +56,7 @@ public class TemplateController extends BaseController {
@RequestMapping(value = "getTemplateJson", method = RequestMethod.POST, produces = MediaType.APPLICATION_OCTET_STREAM_VALUE)
public @ResponseBody
void getTemplateBlob(@RequestParam Long templateId, HttpServletResponse response) throws URISyntaxException {
void getTemplateBlob(@RequestParam(name="templateID") Long templateId, HttpServletResponse response) throws URISyntaxException {
MyAsserts.assertTrue(isParamValid(templateId), new BadParameterException());
String filePath;
File templateFile;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment