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