返回售后申请退款金额

This commit is contained in:
hupeng
2023-12-06 18:37:28 +08:00
parent fc871ea4af
commit aad5a92307
3 changed files with 67 additions and 3 deletions

View File

@ -25,6 +25,7 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
@ -46,6 +47,13 @@ public class StoreAfterSalesController {
@Autowired
private YxExpressService yxExpressService;
@AuthCheck
@PostMapping("/getRefundAmount")
@ApiOperation(value = "获取退款价格", notes = "获取退款价格")
public ApiResult<BigDecimal> getRefundAmount(@RequestBody StoreAfterSalesParam storeAfterSalesParam) {
return ApiResult.ok(storeAfterSalesService.getRefundAmount(storeAfterSalesParam));
}
@AuthCheck
@PostMapping("/applyForAfterSales")
@ApiOperation(value = "申请售后", notes = "申请售后")