Эх сурвалжийг харах

[fix]
1、 完善接口注解

chenchen 5 сар өмнө
parent
commit
37353585bd

+ 2 - 1
application-webadmin/src/main/java/com/tourism/webadmin/app/website/controller/TourismProjectToWebController.java

@@ -1,6 +1,7 @@
 package com.tourism.webadmin.app.website.controller;
 
 import cn.dev33.satoken.annotation.SaIgnore;
+import com.tourism.common.core.annotation.MyRequestBody;
 import com.tourism.common.core.constant.ErrorCodeEnum;
 import com.tourism.common.core.object.*;
 import com.tourism.webadmin.app.website.dto.TourismBookProjectDto;
@@ -88,7 +89,7 @@ public class TourismProjectToWebController {
     * @return 应答结果对象,包含对象详情。
     */
     @PostMapping("/bookProject")
-    public ResponseResult<Void> bookProject(HttpServletRequest request,@RequestBody TourismBookProjectDto tourismBookProjectDto) {
+    public ResponseResult<Void> bookProject(HttpServletRequest request,@MyRequestBody TourismBookProjectDto tourismBookProjectDto) {
         tourismProjectToWebService.bookProject(request,tourismBookProjectDto);
         return ResponseResult.success();
     }