|
|
@@ -11,6 +11,7 @@ import com.fs.huifuPay.domain.HuiFuOnlinePay;
|
|
|
import com.fs.huifuPay.domain.HuiFuOnlineRefund;
|
|
|
import com.fs.huifuPay.domain.HuiFuResult;
|
|
|
import com.fs.huifuPay.sdk.opps.core.utils.HuiFuUtils;
|
|
|
+import com.fs.live.service.ILiveOrderService;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
@@ -36,6 +37,8 @@ public class HuifuPayController {
|
|
|
private IFsCourseProductOrderService courseProductOrderService;
|
|
|
@Autowired
|
|
|
private IFsStorePaymentService storePaymentService;
|
|
|
+ @Autowired
|
|
|
+ private ILiveOrderService liveOrderService;
|
|
|
|
|
|
org.slf4j.Logger logger= LoggerFactory.getLogger(getClass());
|
|
|
@Autowired
|
|
|
@@ -112,6 +115,14 @@ public class HuifuPayController {
|
|
|
logger.error("-------分账明细回调错误{}", e.getMessage());
|
|
|
}
|
|
|
break;
|
|
|
+ case "live":
|
|
|
+ liveOrderService.payConfirm(1,null,orderId[1], huiFuResult.getHf_seq_id(),huiFuResult.getOut_trans_id(),huiFuResult.getParty_order_id());
|
|
|
+// try {
|
|
|
+// HuiFuUtils.updateDivItem(orderId[1]);
|
|
|
+// } catch (Exception e) {
|
|
|
+// logger.error("-------分账明细回调错误{}", e.getMessage());
|
|
|
+// }
|
|
|
+ break;
|
|
|
}
|
|
|
}
|
|
|
|