php-alert-client/tests/text.php

12 lines
220 B
PHP
Raw Normal View History

2018-05-08 07:35:56 +00:00
<?php
require_once dirname(__DIR__).'/vendor/autoload.php';
$ret = notify('houxuejie','dfdfdf');
if( $ret['err_code'] == '0' ){
echo "发送成功\n";
}else{
echo "发送失败,原因{$ret['err_msg']}\n";
}