2018-05-08 07:35:56 +00:00
|
|
|
<?php
|
|
|
|
|
2018-06-23 03:22:03 +00:00
|
|
|
error_reporting(E_ALL);
|
|
|
|
ini_set('display_errors', 'stderr');
|
|
|
|
|
2018-05-08 07:35:56 +00:00
|
|
|
require_once dirname(__DIR__).'/vendor/autoload.php';
|
|
|
|
|
2019-01-02 07:17:32 +00:00
|
|
|
$ret = chat_card_alert('szjesh','dfdfdf');
|
2018-06-23 03:22:03 +00:00
|
|
|
var_dump($ret);
|
2018-05-08 07:35:56 +00:00
|
|
|
if( $ret['err_code'] == '0' ){
|
|
|
|
echo "发送成功\n";
|
|
|
|
}else{
|
|
|
|
echo "发送失败,原因{$ret['err_msg']}\n";
|
|
|
|
}
|
|
|
|
|