Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
laravelzh
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
冯超鹏
laravelzh
Commits
0e1fda13
Commit
0e1fda13
authored
Oct 23, 2020
by
冯超鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交信息wss 更改
parent
4a70232e
Pipeline
#154
canceled with stages
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
7 deletions
+25
-7
alarm.php
app/Console/Commands/alarm.php
+5
-5
chemicalswb.php
app/Console/Commands/chemicalswb.php
+5
-0
firewb.php
app/Console/Commands/firewb.php
+5
-0
swoole.php
app/Console/Commands/swoole.php
+5
-0
swooleMeTcp.php
app/Console/Commands/swooleMeTcp.php
+5
-0
UinappHomeController.php
app/Http/Controllers/UinappHomeController.php
+0
-2
No files found.
app/Console/Commands/alarm.php
View file @
0e1fda13
...
...
@@ -64,11 +64,11 @@ class alarm extends Command
'backlog'
=>
128
,
//Listen队列长度
'max_request'
=>
10
,
//最大连接
'daemonize'
=>
0
,
//守护进程
// 'ssl_cert_file' => __DIR__ . '/config/ssl.crt
',
// 'ssl_key_file' => __DIR__ . '/config/ssl
.key',
//
'ssl_verify_peer' => true,
//
'ssl_allow_self_signed' => true,
// 'ssl_client_cert_file' => __DIR__ . '/config/client
.crt',
'ssl_cert_file'
=>
base_path
()
.
'/tests/textcert/4544322_iot.zhkjgf.com_chain
'
,
'ssl_key_file'
=>
__DIR__
.
'/tests/textcert/4544322_iot.zhkjgf.com
.key'
,
'ssl_verify_peer'
=>
true
,
'ssl_allow_self_signed'
=>
true
,
'ssl_client_cert_file'
=>
__DIR__
.
'/tests/textcert/4544322_iot.zhkjgf.com_public
.crt'
,
));
$this
->
ws
->
on
(
'open'
,
function
(
$ws
,
$request
)
{
// //链接成功
...
...
app/Console/Commands/chemicalswb.php
View file @
0e1fda13
...
...
@@ -64,6 +64,11 @@ class chemicalswb extends Command
'backlog'
=>
128
,
//Listen队列长度
'max_request'
=>
10
,
//最大连接
'daemonize'
=>
0
,
//守护进程
'ssl_cert_file'
=>
base_path
()
.
'/tests/textcert/4544322_iot.zhkjgf.com_chain'
,
'ssl_key_file'
=>
base_path
()
.
'/tests/textcert/4544322_iot.zhkjgf.com.key'
,
'ssl_verify_peer'
=>
true
,
'ssl_allow_self_signed'
=>
true
,
'ssl_client_cert_file'
=>
base_path
()
.
'/tests/textcert/4544322_iot.zhkjgf.com_public.crt'
,
));
$this
->
ws
->
on
(
'open'
,
function
(
$ws
,
$request
)
{
// //链接成功
...
...
app/Console/Commands/firewb.php
View file @
0e1fda13
...
...
@@ -64,6 +64,11 @@ class firewb extends Command
'backlog'
=>
128
,
//Listen队列长度
'max_request'
=>
10
,
//最大连接
'daemonize'
=>
0
,
//守护进程
'ssl_cert_file'
=>
base_path
()
.
'/tests/textcert/4544322_iot.zhkjgf.com_chain'
,
'ssl_key_file'
=>
base_path
()
.
'/tests/textcert/4544322_iot.zhkjgf.com.key'
,
'ssl_verify_peer'
=>
true
,
'ssl_allow_self_signed'
=>
true
,
'ssl_client_cert_file'
=>
base_path
()
.
'/tests/textcert/4544322_iot.zhkjgf.com_public.crt'
,
));
$this
->
ws
->
on
(
'open'
,
function
(
$ws
,
$request
)
{
// //链接成功
...
...
app/Console/Commands/swoole.php
View file @
0e1fda13
...
...
@@ -64,6 +64,11 @@ class swoole extends Command
'backlog'
=>
128
,
//Listen队列长度
'max_request'
=>
10
,
//最大连接
'daemonize'
=>
0
,
//守护进程
'ssl_cert_file'
=>
base_path
()
.
'/tests/textcert/4544322_iot.zhkjgf.com_chain'
,
'ssl_key_file'
=>
base_path
()
.
'/tests/textcert/4544322_iot.zhkjgf.com.key'
,
'ssl_verify_peer'
=>
true
,
'ssl_allow_self_signed'
=>
true
,
'ssl_client_cert_file'
=>
base_path
()
.
'/tests/textcert/4544322_iot.zhkjgf.com_public.crt'
,
));
$this
->
ws
->
on
(
'open'
,
function
(
$ws
,
$request
)
{
// //链接成功
...
...
app/Console/Commands/swooleMeTcp.php
View file @
0e1fda13
...
...
@@ -67,6 +67,11 @@ class swooleMeTcp extends Command
'backlog'
=>
128
,
'heartbeat_check_interval'
=>
30
,
'heartbeat_idle_time'
=>
65
,
'ssl_cert_file'
=>
base_path
()
.
'/tests/textcert/4544322_iot.zhkjgf.com_chain'
,
'ssl_key_file'
=>
base_path
()
.
'/tests/textcert/4544322_iot.zhkjgf.com.key'
,
'ssl_verify_peer'
=>
true
,
'ssl_allow_self_signed'
=>
true
,
'ssl_client_cert_file'
=>
base_path
()
.
'/tests/textcert/4544322_iot.zhkjgf.com_public.crt'
,
]);
//监听连接进入事件
$this
->
tcp
->
on
(
'Connect'
,
function
(
$serv
,
$fd
)
{
...
...
app/Http/Controllers/UinappHomeController.php
View file @
0e1fda13
...
...
@@ -137,8 +137,6 @@ class UinappHomeController extends Controller
// 发送邮箱验证
public
function
mails
(
Request
$request
)
{
print_r
(
base_path
());
die
();
$isemail
=
$request
->
input
(
'email'
);
$num
=
str_pad
(
mt_rand
(
0
,
999999
),
6
,
"0"
,
STR_PAD_BOTH
);
if
(
$isemail
!=
''
){
...
...
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