‘linchangsheng’ 1 tuần trước cách đây
mục cha
commit
4270daca52

+ 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);