| | |
| | | @ResponseBody |
| | | public Result buyDz(@RequestParam("dzId") String dzId, |
| | | @RequestParam(value = "password", required = false) String password, |
| | | @RequestParam("num") double num) { |
| | | @RequestParam(name = "num", defaultValue = "1") double num) { |
| | | lock.lock(); |
| | | try { |
| | | if (orderCreated.get()) { |
| | |
| | | @PostMapping({"getDzOrderList.do"}) |
| | | @ResponseBody |
| | | public Result getDzOrderList(@RequestParam(value = "pageNum", defaultValue = "1") int pageNum, |
| | | @RequestParam(value = "pageSize", defaultValue = "5") int pageSize, |
| | | @RequestParam(value = "state", required = false) String state) { |
| | | @RequestParam(value = "pageSize", defaultValue = "5") int pageSize) { |
| | | String partyId = SecurityUtils.getCurrentUserId(); |
| | | if (partyId == null || partyId.isEmpty()) { |
| | | throw new YamiShopBindException("请先登录"); |