|
@@ -1,5 +1,6 @@
|
|
|
package com.fs.app.controller;
|
|
|
|
|
|
+import com.alibaba.fastjson.JSON;
|
|
|
import com.fs.common.core.controller.BaseController;
|
|
|
import com.fs.common.exception.CustomException;
|
|
|
import com.fs.common.utils.spring.SpringUtils;
|
|
@@ -10,16 +11,16 @@ import com.fs.his.service.IFsInquiryOrderService;
|
|
|
import com.fs.his.service.IFsPackageOrderService;
|
|
|
import com.fs.his.service.IFsStoreOrderService;
|
|
|
|
|
|
+import com.fs.his.service.IFsStorePaymentService;
|
|
|
+import com.fs.huifuPay.domain.HuiFuResult;
|
|
|
import com.fs.system.domain.SysConfig;
|
|
|
import com.fs.system.mapper.SysConfigMapper;
|
|
|
import com.fs.ybPay.domain.OrderCallback;
|
|
|
import com.fs.ybPay.util.PayUtil;
|
|
|
import com.google.gson.Gson;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
@@ -43,6 +44,12 @@ public class YbPayController extends BaseController
|
|
|
private IFsUserCourseOrderService courseOrderService;
|
|
|
@Autowired
|
|
|
private IFsUserVipOrderService userVipOrderService;
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private IFsStoreOrderService orderService;
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private IFsStorePaymentService storePaymentService;
|
|
|
@PostMapping("/payNotify")
|
|
|
public String payNotify(@RequestBody Map<String, String> params, @RequestBody OrderCallback o) {
|
|
|
System.out.println("支付回调");
|
|
@@ -79,5 +86,4 @@ public class YbPayController extends BaseController
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
}
|