‘linchangsheng’ 2 주 전
부모
커밋
4270daca52
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/java/com/gree/mall/miniapp/controller/user/UserController.java

+ 2 - 2
src/main/java/com/gree/mall/miniapp/controller/user/UserController.java

@@ -108,8 +108,8 @@ public class UserController {
     @ApiOperation(value = "个人信息")
     public ResponseHelper<UserWxBean> detail(
             @ApiParam(required = true, value = "code") @RequestParam(required = true) String userId,
-            @ApiParam(required = false, value = "经纬度") @RequestParam(required = true) String lat,
-            @ApiParam(required = false, value = "经纬度") @RequestParam(required = true) String lng,
+            @ApiParam(required = false, value = "经纬度") @RequestParam(required = false) String lat,
+            @ApiParam(required = false, value = "经纬度") @RequestParam(required = false) String lng,
             HttpServletRequest request
     ) throws RemoteServiceException {
         UserWxBean userWxBean = userLogic.userDetail(userId,request,lat,lng);