|
|
@@ -11,6 +11,7 @@ import com.usoftchina.uas.office.dto.Result;
|
|
|
import com.usoftchina.uas.office.entity.DataCenter;
|
|
|
import com.usoftchina.uas.office.jdbc.DataSourceHolder;
|
|
|
import com.usoftchina.uas.office.qywx.config.ProviderConfig;
|
|
|
+import com.usoftchina.uas.office.qywx.manage.entity.QywxCallback;
|
|
|
import com.usoftchina.uas.office.service.AbstractService;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
@@ -56,11 +57,11 @@ public class QywxCallbackService extends AbstractService {
|
|
|
return callBackStr;
|
|
|
}
|
|
|
|
|
|
- public String callBack(String msgSignature, String timestamp, String nonce, String jsonMsg){
|
|
|
+ public String callBack(QywxCallback qywxCallback){
|
|
|
//TODO 获取参数回调配置
|
|
|
String decryptMsg = null;
|
|
|
logger.info("企业微信CallBack POST ");
|
|
|
- try {
|
|
|
+ /*try {
|
|
|
WXBizJsonMsgCrypt wxcpt = new WXBizJsonMsgCrypt(providerConfig.getToken(), providerConfig.getEncodingAESKey(), getCropId());
|
|
|
decryptMsg = wxcpt.DecryptMsg(msgSignature, timestamp, nonce, jsonMsg);
|
|
|
logger.info("企业微信CallBack POST {}", decryptMsg);
|
|
|
@@ -68,7 +69,8 @@ public class QywxCallbackService extends AbstractService {
|
|
|
|
|
|
} catch (AesException e) {
|
|
|
e.printStackTrace();
|
|
|
- }
|
|
|
+ }*/
|
|
|
+ logger.info(qywxCallback.toString());
|
|
|
|
|
|
return null;
|
|
|
}
|