注解@PathVariable 的问题 导致带.的参数被截取了
修改后
@GetMapping("/entrust/{type:hk|us}/position-buy-sell/{code:.+}") public ResponseEntity<RestResult> amountMaxSell( @RequestInfo UserOP uop, @PathVariable String type, @RequestParam Integer periods, @PathVariable String code) { return super.amountMaxSell(uop, type, code, periods); }
参考