初始化基金监控系统项目
This commit is contained in:
15
test_fund_email.php
Normal file
15
test_fund_email.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
// 测试基金情况邮件推送功能
|
||||
require_once 'api.php';
|
||||
|
||||
// 创建API实例
|
||||
$api = new FundMonitorAPI();
|
||||
|
||||
// 测试发送基金情况邮件
|
||||
$result = $api->sendFundStatusEmail();
|
||||
|
||||
if ($result) {
|
||||
echo "基金情况邮件发送成功!";
|
||||
} else {
|
||||
echo "基金情况邮件发送失败或不需要发送。";
|
||||
}
|
||||
Reference in New Issue
Block a user