|
@@ -9,6 +9,7 @@ import com.fs.his.service.IFsStoreOrderService;
|
|
|
import com.fs.huifuPay.domain.HuiFuOnlinePay;
|
|
|
import com.fs.huifuPay.domain.HuiFuOnlineRefund;
|
|
|
import com.fs.huifuPay.domain.HuiFuResult;
|
|
|
+import com.fs.live.service.ILiveOrderService;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -28,6 +29,8 @@ public class HuifuPayController {
|
|
|
private IFsUserCourseOrderService courseOrderService;
|
|
|
@Autowired
|
|
|
private IFsUserVipOrderService vipOrderService;
|
|
|
+ @Autowired
|
|
|
+ private ILiveOrderService liveOrderService;
|
|
|
|
|
|
org.slf4j.Logger logger= LoggerFactory.getLogger(getClass());
|
|
|
@RequestMapping("/payNotifyUrl")
|
|
@@ -52,6 +55,9 @@ public class HuifuPayController {
|
|
|
case "appvip":
|
|
|
vipOrderService.payConfirm("",orderId[1],huiFuResult.getHf_seq_id(),"",1);
|
|
|
break;
|
|
|
+ case "appLive":
|
|
|
+ liveOrderService.payConfirm("",orderId[1],huiFuResult.getHf_seq_id(),"",1);
|
|
|
+ break;
|
|
|
}
|
|
|
}
|
|
|
|