php-alert-client/tests/text.php
候学杰 58e5dd8a08 init
2018-05-08 15:40:54 +08:00

12 lines
229 B
PHP

<?php
require_once dirname(__DIR__).'/vendor/autoload.php';
$ret = user_text_alert('houxuejie','dfdfdf');
if( $ret['err_code'] == '0' ){
echo "发送成功\n";
}else{
echo "发送失败,原因{$ret['err_msg']}\n";
}