diff --git a/src/main/java/cn/com/tenlion/controller/app/apis/cardtemplate/CardTemplateAppController.java b/src/main/java/cn/com/tenlion/controller/app/apis/cardtemplate/CardTemplateAppController.java index 1f0d14a..a80aa5d 100644 --- a/src/main/java/cn/com/tenlion/controller/app/apis/cardtemplate/CardTemplateAppController.java +++ b/src/main/java/cn/com/tenlion/controller/app/apis/cardtemplate/CardTemplateAppController.java @@ -39,8 +39,7 @@ public class CardTemplateAppController extends AbstractController { @ApiImplicitParams({ }) @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) - @PostMapping("updatecardtemplateimage/{cardTemplateId}") - @CheckRequestBodyAnnotation + @PostMapping("updatecardtemplateimage" +ISystemConstant.APP_RELEASE_SUFFIX +"/{cardTemplateId}") public SuccessResult updateCardTemplateImage(@PathVariable("cardTemplateId") String cardTemplateId, String templatePreviewPhoto) throws Exception { Map params = requestParams(); return cardTemplateService.updateCardTemplateImage(cardTemplateId, params.get("templatePreviewPhoto").toString()); @@ -48,7 +47,6 @@ public class CardTemplateAppController extends AbstractController { @ApiOperation(value = "新增名片/海报模板", notes = "新增名片/海报模板接口") @ApiImplicitParams({ - //@ApiImplicitParam(name = "token", value = "token", paramType = "header") }) @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) @PostMapping("savecardtemplate")