Commit 1cf119ae authored by 冯超鹏's avatar 冯超鹏

swoole bug

parent 3b942002
Pipeline #158 canceled with stages
...@@ -65,10 +65,10 @@ class chemicalswb extends Command ...@@ -65,10 +65,10 @@ class chemicalswb extends Command
'max_request' => 10,//最大连接 'max_request' => 10,//最大连接
'daemonize'=>0,//守护进程 'daemonize'=>0,//守护进程
'ssl_cert_file' => base_path() . '/tests/textcert/4544322_iot.zhkjgf.com_public.crt', 'ssl_cert_file' => base_path() . '/tests/textcert/4544322_iot.zhkjgf.com_public.crt',
'ssl_key_file' => base_path() . '/tests/textcert/4544322_iot.zhkjgf.com.key', 'ssl_key_file' => base_path() . '/tests/textcert/4544322_iot.zhkjgf.com.key',
'ssl_verify_peer' => true, // 'ssl_verify_peer' => true,
'ssl_allow_self_signed' => true, // 'ssl_allow_self_signed' => true,
'ssl_client_cert_file' => base_path() . '/tests/textcert/4544322_iot.zhkjgf.com_chain', // 'ssl_client_cert_file' => base_path() . '/tests/textcert/4544322_iot.zhkjgf.com_chain',
)); ));
$this->ws->on('open', function ($ws, $request) { $this->ws->on('open', function ($ws, $request) {
// //链接成功 // //链接成功
......
...@@ -137,8 +137,8 @@ class UinappHomeController extends Controller ...@@ -137,8 +137,8 @@ class UinappHomeController extends Controller
// 发送邮箱验证 // 发送邮箱验证
public function mails(Request $request) public function mails(Request $request)
{ {
print_r( base_path() . '/tests/textcert/4544322_iot.zhkjgf.com_public.crt'); // print_r( base_path() . '/tests/textcert/4544322_iot.zhkjgf.com_public.crt');
die(); // die();
$isemail = $request->input('email'); $isemail = $request->input('email');
$num = str_pad(mt_rand(0, 999999), 6, "0", STR_PAD_BOTH); $num = str_pad(mt_rand(0, 999999), 6, "0", STR_PAD_BOTH);
if ($isemail != ''){ if ($isemail != ''){
......
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