Commit cf1be687 authored by gao's avatar gao

修改频次认证

parent e5c908b0
......@@ -16,17 +16,17 @@ import java.util.Date;
* Created by gaoxiang on 2018/1/22.
*/
public class SendToWeixin {
private static String startTime="1518328800000";
private static String startTime="1518404400000";
private static String endTime="";
public static void sendToWeixinMain(){
endTime= FormatBytesUtil.getTimestamp();
String msgServiceState= "0X4F模式下的法人代理返回结果:"+ServiceStateMonitoring.serviceStateMonitoringServer();
String msgTrustedPlatformStatus= "0X4F模式下的可信平台返回结果:"+new TrustedPlatformStatusMonitoring().trustedPlatformStatusMonitoringServer();
String msgSignatureServerStatus = "签名服务器状态监控:"+new SignatureServerStatusMonitoring().signatureServerStatusMonitoringServer();
String correctRateQueryStr=ServiceStateMonitoring.correctRateQuery(startTime,endTime);
String authCountStr=ServiceStateMonitoring.authCount(startTime,endTime);
String authFrequencyStr=ServiceStateMonitoring.authFrequency(startTime,endTime);
String msgServiceState= "0X4F模式下的法人代理返回结果:"+ServiceStateMonitoring.serviceStateMonitoringServer();
String msgTrustedPlatformStatus= "0X4F模式下的可信平台返回结果:"+new TrustedPlatformStatusMonitoring().trustedPlatformStatusMonitoringServer();
String msgSignatureServerStatus = "签名服务器状态监控:"+new SignatureServerStatusMonitoring().signatureServerStatusMonitoringServer();
startTime=endTime;
SendRequset sr=new SendRequset();
AccessTokenRequset atrequset=new AccessTokenRequset("https://qyapi.weixin.qq.com/cgi-bin/gettoken","wx4244612882ba3018","5dqLUQ9S3CjhFfKXsmgl4Q9PogJEG6qieoyr4AEw1UI" );
......
......@@ -27,7 +27,7 @@ public class test {
// Object s1 = FormatBytesUtil.stampToDate("1518163200000");
// System.out.println(s1);
//
Object s2 = FormatBytesUtil.dateToStamp("2018-02-11 14");
Object s2 = FormatBytesUtil.dateToStamp("2018-02-12 11");
System.out.println(s2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment