@ApiOperation(value = "XXXX", notes = "XXXX", httpMethod = "GET", response = XXXX.class)
@ApiImplicitParams({
@ApiImplicitParam(name = "code", value = "XXXX", required = true, paramType = "path", dataType = "String"),
@ApiImplicitParam(name = "longitude", value = "XXXX", required = true, paramType = "path", dataType = "String"),
@ApiImplicitParam(name = "latitude", value = "XXXX", required = true, paramType = "path", dataType = "String")
})
@ApiResponses(value = {
@ApiResponse(code = 200, message = "success"),
@ApiResponse(code = 201001, message = "parameter error")})
@RequestMapping(value = "/verify/{code}/{longitude:.+}/{latitude:.+}", method = RequestMethod.GET)
public Nfc315VerifyResponse verify(@ApiIgnore @PathVariable String code, @ApiIgnore @PathVariable String longitude,
@ApiIgnore @PathVariable String latitude, HttpServletRequest request,
@ApiIgnore @CurrentUser Customer customer) {
注意:接口中后两个参数为经纬度,如果不加 “:.+”,接收时,第一个参数正常,第二个参数则只接收到整数部分。