|
@@ -189,11 +189,11 @@ public class UserController {
|
|
|
@PostMapping("/userWebsit")
|
|
|
@ApiOperation(value = "获得当前用户的门店")
|
|
|
public ResponseHelper<AdminWebsit> userWebsit(
|
|
|
- @ApiParam(required = true, value = "用户id") @RequestParam(required = true) String userId,
|
|
|
@ApiParam(required = true, value = "经度") @RequestParam(required = true) String lng,
|
|
|
- @ApiParam(required = true, value = "纬度") @RequestParam(required = true) String lat
|
|
|
+ @ApiParam(required = true, value = "纬度") @RequestParam(required = true) String lat,
|
|
|
+ HttpServletRequest request
|
|
|
) throws RemoteServiceException {
|
|
|
- AdminWebsit adminWebsit = userLogic.userWebsit(userId,lng,lat);
|
|
|
+ AdminWebsit adminWebsit = userLogic.userWebsit(lng,lat,request);
|
|
|
return ResponseHelper.success(adminWebsit);
|
|
|
}
|
|
|
|