From a74fab8d91c51a29ab53bb38c26cf9f8b22c4931 Mon Sep 17 00:00:00 2001 From: cuibaocheng Date: Tue, 20 Apr 2021 17:03:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BA=97=E9=93=BA=E5=8A=A8?= =?UTF-8?q?=E6=80=81=20/=20=E4=B8=AA=E4=BA=BA=E5=8A=A8=E6=80=81=20/=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0html=E8=BD=AC=E5=9B=BE=E7=89=87=E7=9A=84?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E9=A2=84=E8=A7=88=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/apis/cardtemplate/CardTemplateAppController.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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")