| | |
| | | @ApiOperation("返回用户自选币种的列表") |
| | | @GetMapping("/api/itemUserOptional!list.action") |
| | | public Result<List<ItemUserOptionalDTO>> list(@RequestParam(required = false) String symbol) { |
| | | String partyId = SecurityUtils.getCurrentUserId(); |
| | | List<ItemUserOptionalDTO> models = itemUserOptionalService.getItemUserOptionals(symbol, partyId); |
| | | return Result.ok(models); |
| | | try { |
| | | String partyId = SecurityUtils.getCurrentUserId(); |
| | | List<ItemUserOptionalDTO> models = itemUserOptionalService.getItemUserOptionals(symbol, partyId); |
| | | return Result.ok(models); |
| | | }catch (Exception e){ |
| | | log.error(e.getMessage()); |
| | | return Result.ok(null); |
| | | } |
| | | } |
| | | |
| | | |