32 lines
888 B
Java
32 lines
888 B
Java
|
|
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);
|
|||
|
|
// }
|
|||
|
|
}
|