puzhibing
2024-08-17 428ebc05803402bd04ab3e9a6d770bb9eb9e2f65
ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TCouponController.java
@@ -137,8 +137,8 @@
     * @param id
     * @return
     */
    @PostMapping(value = "/getCouponById/{id}")
    public R<TCoupon> getCouponById(@PathVariable Integer id){
    @PostMapping(value = "/getCouponById1/{id}")
    public R<TCoupon> getCouponById1(@PathVariable(value = "id") Integer id){
        TCoupon coupon = tCouponService.getById(id);
        return R.ok(coupon);
    }