| | |
| | | import com.dsh.activity.entity.HuiminPayQuery; |
| | | 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.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 惠民卡支付记录 |
| | | * 玩湃惠民卡支付记录 |
| | | * @author mitao |
| | | * @date 2025/3/31 |
| | | */ |
| | |
| | | return payHuiminService.getStaticsData(query); |
| | | } |
| | | /** |
| | | * 退款惠民卡 |
| | | * 退款玩湃惠民卡 |
| | | * @param id |
| | | */ |
| | | @PostMapping("/base/tPayHuimin/refund") |
| | | public void refund(Integer id){ |
| | | public void refund(@RequestBody Integer id){ |
| | | try { |
| | | payHuiminService.refund(id); |
| | | payHuiminService.refund(id); |
| | | } catch (AlipayApiException e) { |
| | | throw new RuntimeException(e); |
| | | } |