| | |
| | | import org.springframework.web.bind.annotation.RequestBody;
|
| | | import org.springframework.web.bind.annotation.RequestMapping;
|
| | | import org.springframework.web.bind.annotation.RequestMethod;
|
| | | import org.springframework.web.bind.annotation.RequestParam;
|
| | | import org.springframework.web.bind.annotation.RestController;
|
| | |
|
| | | import com.alibaba.druid.util.StringUtils;
|
| | |
| | | return memberQuickBuySaleService.selectById(id);
|
| | | }
|
| | |
|
| | | @ApiOperation(value = "selectAll", notes = "查询用户所有的买卖记录")
|
| | | @GetMapping(value = "/selectAll")
|
| | | public Result selectAll(@RequestParam(value = "type") String type) {
|
| | | return memberQuickBuySaleService.selectAll(type);
|
| | | }
|
| | | |
| | | @ApiOperation(value = "cancel", notes = "充值撤销")
|
| | | @GetMapping(value = "/cancel/{id}")
|
| | | public Result cancel(@PathVariable(value = "id") Long id) {
|