| | |
| | | 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; |
| | |
| | | * @param id |
| | | */ |
| | | @PostMapping("/base/tPayHuimin/refund") |
| | | public void refund(Integer id){ |
| | | public ResultUtil<?> refund(@RequestBody Integer id){ |
| | | try { |
| | | payHuiminService.refund(id); |
| | | return payHuiminService.refund(id); |
| | | } catch (AlipayApiException e) { |
| | | throw new RuntimeException(e); |
| | | } |