ebike-plus/ebike-user/src/main/java/com/cdzy/user/controller/EbikeRefundController.java

32 lines
888 B
Java
Raw Normal View History

2025-11-14 13:12:26 +08:00
package com.cdzy.user.controller;
import com.cdzy.user.service.EbikeRefundService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author: yanglei
* @since: 2025-11-13 20:07
*/
@RestController
@RequestMapping("/ebikeRefund")
public class EbikeRefundController {
@Resource
private EbikeRefundService ebikeRefundService;
/**
* 退款申请
*
* @param ebikeRefundDto 退款信息
* @return 退款成功返回主键id否则返回失败
*/
// @PostMapping("/refundApply")
// public JsonResult<?> refundApply(@RequestBody EbikeOrderRefundDto ebikeRefundDto) {
// Long r = ebikeRefundService.refundApply(ebikeRefundDto.getOrderId(), ebikeRefundDto.getReason());
// return JsonResult.success(r);
// }
}