无关风月
2025-05-08 9486766c806fe1d9e082b2fd02ea1cc558f1b443
cloud-server-activity/src/main/java/com/dsh/activity/controller/PayHuiminController.java
@@ -6,8 +6,6 @@
import com.dsh.activity.model.response.SalesDetailVO;
import com.dsh.activity.service.PayHuiminService;
import com.dsh.activity.util.ResultUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -19,7 +17,7 @@
import java.util.Map;
/**
 * 惠民卡支付记录
 * 玩湃惠民卡支付记录
 * @author mitao
 * @date 2025/3/31
 */
@@ -49,13 +47,13 @@
        return payHuiminService.getStaticsData(query);
    }
    /**
     * 退款惠民卡
     * 退款玩湃惠民卡
     * @param id
     */
    @GetMapping("/base/tPayHuimin/refund/{id}")
    public ResultUtil<?> refund(@PathVariable("id") Integer id){
    @PostMapping("/base/tPayHuimin/refund")
    public void refund(@RequestBody Integer id){
        try {
            return payHuiminService.refund(id);
             payHuiminService.refund(id);
        } catch (AlipayApiException e) {
            throw new RuntimeException(e);
        }