huodongdong 7 年之前
父节点
当前提交
2e49f4d8bd

+ 1 - 1
rankin-user-service/src/main/java/cn/rankin/userservice/controller/PayController.java

@@ -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());
     }