mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
申请退款dto
This commit is contained in:
@@ -18,7 +18,7 @@ import com.jsowell.pile.dto.WeixinPayDTO;
|
||||
import com.jsowell.pile.vo.uniapp.PayModeVO;
|
||||
import com.jsowell.service.MemberService;
|
||||
import com.jsowell.service.OrderService;
|
||||
import com.jsowell.pile.dto.WeChatRefundDTO;
|
||||
import com.jsowell.pile.dto.ApplyRefundDTO;
|
||||
import com.jsowell.wxpay.response.WechatPayNotifyParameter;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
@@ -239,7 +239,7 @@ public class PayController extends BaseController {
|
||||
* https://api.jsowellcloud.com/uniapp/pay/refund
|
||||
*/
|
||||
@PostMapping("/refund")
|
||||
public RestApiResponse<?> weChatRefund(HttpServletRequest request, @RequestBody WeChatRefundDTO dto) {
|
||||
public RestApiResponse<?> weChatRefund(HttpServletRequest request, @RequestBody ApplyRefundDTO dto) {
|
||||
RestApiResponse<?> response;
|
||||
try {
|
||||
if (dto.getRefundAmount() == null) {
|
||||
@@ -269,7 +269,7 @@ public class PayController extends BaseController {
|
||||
* https://api.jsowellcloud.com/uniapp/pay/adapayRefund
|
||||
*/
|
||||
@PostMapping("/adapayRefund")
|
||||
public RestApiResponse<?> adapayRefund(HttpServletRequest request, @RequestBody WeChatRefundDTO dto) {
|
||||
public RestApiResponse<?> adapayRefund(HttpServletRequest request, @RequestBody ApplyRefundDTO dto) {
|
||||
RestApiResponse<?> response;
|
||||
try {
|
||||
if (dto.getRefundAmount() == null) {
|
||||
|
||||
Reference in New Issue
Block a user