k94314517
2025-04-18 aef13c72540c16bc38a70d366fe7005489b6673e
server/src/main/java/com/doumee/core/utils/qiyeweixin/QywxUtil.java
@@ -25,17 +25,16 @@
    private static JSONObject json = new JSONObject();
    @Autowired
    private SystemDictDataBiz systemDictDataBiz;
    private static QywxUtil qyUtil;
    @Value("${qiwei.serviceurl}")
    private static String qiweiUrl;
    private    String qiweiUrl;
    @PostConstruct
    private void init() {
        qyUtil = this;
        systemDictDataBiz = qyUtil.systemDictDataBiz;
//        QywxUtil.qiweiUrl =  serviceurl;
    }
@@ -161,7 +160,7 @@
            String res = null;
            try {
                Map<String,String> headers = new HashMap<>();
                res = HttpsUtil.postJson(qiweiUrl+url,param);
                res = HttpsUtil.postJson(qyUtil.qiweiUrl+url,param);
                QywxBaseResponse result = JSONObject.parseObject(res, typeReference.getType());
                logResult(result,name);
                return  result;
@@ -178,7 +177,7 @@
            String res = null;
            try {
                Map<String,String> headers = new HashMap<>();
                res = HttpsUtil.postJson(qiweiUrl+url,param);
                res = HttpsUtil.postJson(qyUtil.qiweiUrl+url,param);
                T result = JSONObject.parseObject(res, typeReference.getType());
//                logResult(result,name);
                return  result;