Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
LegalPersonMonitor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiachenqi
LegalPersonMonitor
Commits
cf1be687
Commit
cf1be687
authored
Feb 12, 2018
by
gao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改频次认证
parent
e5c908b0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
SendToWeixin.java
...ain/java/com/legalPersonMonitor/monitor/SendToWeixin.java
+4
-4
test.java
src/main/java/com/test/test.java
+1
-1
No files found.
src/main/java/com/legalPersonMonitor/monitor/SendToWeixin.java
View file @
cf1be687
...
...
@@ -16,17 +16,17 @@ import java.util.Date;
* Created by gaoxiang on 2018/1/22.
*/
public
class
SendToWeixin
{
private
static
String
startTime
=
"1518
3288
00000"
;
private
static
String
startTime
=
"1518
4044
00000"
;
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"
);
...
...
src/main/java/com/test/test.java
View file @
cf1be687
...
...
@@ -27,7 +27,7 @@ public class test {
// Object s1 = FormatBytesUtil.stampToDate("1518163200000");
// System.out.println(s1);
//
Object
s2
=
FormatBytesUtil
.
dateToStamp
(
"2018-02-1
1 14
"
);
Object
s2
=
FormatBytesUtil
.
dateToStamp
(
"2018-02-1
2 11
"
);
System
.
out
.
println
(
s2
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment