Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ashermed_old_push
Project
Project
Details
Activity
Releases
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
backend
ashermed_old_push
Commits
1f4ece3f
Commit
1f4ece3f
authored
Mar 22, 2025
by
席世权
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善正式请求协议问题
parent
e2bc003c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
JiguangPushMessage.cs
PushInfo.Core/BLL/JiguangPushMessage.cs
+2
-0
Program.cs
PushTask.exe/Program.cs
+2
-0
No files found.
PushInfo.Core/BLL/JiguangPushMessage.cs
View file @
1f4ece3f
...
...
@@ -5,6 +5,7 @@ using PushPlatform.Common.Model;
using
PushPlatform.Common.Util
;
using
System
;
using
System.Collections.Generic
;
using
System.Net
;
using
System.Text
;
namespace
PushInfo.Core.BLL
...
...
@@ -35,6 +36,7 @@ namespace PushInfo.Core.BLL
result
.
Result
=
1
;
try
{
System
.
Net
.
ServicePointManager
.
SecurityProtocol
=
System
.
Net
.
SecurityProtocolType
.
Ssl3
|
System
.
Net
.
SecurityProtocolType
.
Tls
|
System
.
Net
.
SecurityProtocolType
.
Tls11
|
System
.
Net
.
SecurityProtocolType
.
Tls12
;
if
(!
string
.
IsNullOrWhiteSpace
(
intent
))
intent
=
ProcessAndroidIntent
(
intent
,
extras
);
...
...
PushTask.exe/Program.cs
View file @
1f4ece3f
...
...
@@ -12,6 +12,8 @@ namespace PushTask.exe
{
static
void
Main
(
string
[]
args
)
{
System
.
Net
.
ServicePointManager
.
SecurityProtocol
=
System
.
Net
.
SecurityProtocolType
.
Ssl3
|
System
.
Net
.
SecurityProtocolType
.
Tls
|
System
.
Net
.
SecurityProtocolType
.
Tls11
|
System
.
Net
.
SecurityProtocolType
.
Tls12
;
MqBLL
mqBll
=
new
MqBLL
();
mqBll
.
ReleaseTaskMq
();
Console
.
WriteLine
(
"任务消息队列:【服务启动】"
);
...
...
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