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

swoole bug

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