Commit 9fefcad0 authored by 冯超鹏's avatar 冯超鹏

no message

parent 6840aee3
Pipeline #152 canceled with stages
......@@ -64,6 +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',
));
$this->ws->on('open', function ($ws, $request) {
// //链接成功
......@@ -76,7 +81,6 @@ class alarm extends Command
$userdata = new SwooleCommandController();
$this->ws->push($frame->fd,$userdata->alarm($frame->data),1);
});
$this->ws->on('request', function ($request, $response,$from_id,$fd) {
});
//监听WebSocket连接关闭事件
......
......@@ -137,6 +137,8 @@ class UinappHomeController extends Controller
// 发送邮箱验证
public function mails(Request $request)
{
print_r(__DIR__);
die();
$isemail = $request->input('email');
$num = str_pad(mt_rand(0, 999999), 6, "0", STR_PAD_BOTH);
if ($isemail != ''){
......
......@@ -7,7 +7,6 @@ export function fetchList(query) {
params: query,
});
}
export function fetchArticle(id) {
return request({
url: '/articles/' + id,
......
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