| | |
| | | import cn.hutool.http.HttpUtil; |
| | | import com.alibaba.fastjson2.JSONObject; |
| | | import com.gkhy.exam.pay.entity.PayReqData; |
| | | import com.ruoyi.common.utils.Threads; |
| | | import com.xjhys.edu.fee.sdk.client.BillClient; |
| | | import com.xjhys.edu.fee.sdk.client.impl.ClientFactory; |
| | | import com.xjhys.edu.fee.sdk.model.ResponseDataVo; |
| | |
| | | import org.dom4j.io.XMLWriter; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.http.ResponseEntity; |
| | | import org.springframework.scheduling.annotation.Async; |
| | | import org.springframework.stereotype.Component; |
| | | import sun.misc.BASE64Encoder; |
| | | |
| | |
| | | return params; |
| | | } |
| | | |
| | | @Async |
| | | public void asyncNotrify(String orderNo){ |
| | | try { |
| | | Threads.sleep(2000); |
| | | affirmPost(orderNo); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | |
| | | |
| | | //缴费结果确认查询 |
| | | public String affirmPost(String orderNo) throws IOException { |
| | | |