|
@@ -13,7 +13,7 @@ public class PayController {
|
|
|
@Autowired
|
|
|
private PayingService payingService;
|
|
|
|
|
|
- @RequestMapping(value = "/buying", method = RequestMethod.POST)
|
|
|
+ @RequestMapping(value = "/buy", method = RequestMethod.POST)
|
|
|
public APIResult<Boolean> buy(@RequestBody PayDTO payDTO) {
|
|
|
return payingService.buy(payDTO.getMerchantId(), payDTO.getQuantity(), payDTO.getType(), payDTO.getReceiptId(), payDTO.getNote());
|
|
|
}
|