feat: 添加基金监控系统基础功能

添加基金监控系统相关文件,包括邮件发送功能、基金数据配置、测试脚本等。主要包含以下内容:

1. 添加PHPMailer库及相关语言文件
2. 添加基金配置数据文件(fund_config.json, fund_names.json等)
3. 添加邮件发送测试脚本(test_email.php, test_fund_email.php等)
4. 添加.gitignore文件忽略不必要的文件
5. 添加composer.json配置依赖

Signed-off-by: LL <LL>
This commit is contained in:
LL
2025-12-12 14:14:07 +08:00
commit 0cfefbebd8
106 changed files with 26164 additions and 0 deletions

381
data/operation_log.json Normal file
View File

@@ -0,0 +1,381 @@
{
"0": {
"timestamp": "2025-12-12 04:47:50",
"action": "管理员登录",
"ip": "::1"
},
"1": {
"timestamp": "2025-12-12 04:17:07",
"action": "管理员登录",
"ip": "::1"
},
"2": {
"timestamp": "2025-11-11 13:41:58",
"action": "管理员登录",
"ip": "113.87.139.184"
},
"3": {
"timestamp": "2025-11-06 08:31:27",
"action": "管理员登录",
"ip": "113.87.138.191"
},
"4": {
"timestamp": "2025-11-05 14:45:57",
"action": "管理员登录",
"ip": "113.87.138.191"
},
"5": {
"timestamp": "2025-11-05 14:34:30",
"action": "管理员登录",
"ip": "113.87.138.191"
},
"6": {
"timestamp": "2025-11-05 09:47:16",
"action": "管理员登录",
"ip": "113.87.138.191"
},
"7": {
"timestamp": "2025-11-01 23:18:46",
"action": "管理员登录",
"ip": "113.87.139.206"
},
"8": {
"timestamp": "2025-10-31 23:11:13",
"action": "管理员登录",
"ip": "113.84.8.124"
},
"9": {
"timestamp": "2025-10-31 10:20:41",
"action": "管理员注销",
"ip": "113.87.137.255"
},
"10": {
"timestamp": "2025-10-31 10:18:31",
"action": "管理员登录",
"ip": "113.87.137.255"
},
"11": {
"timestamp": "2025-10-31 09:08:47",
"action": "管理员登录",
"ip": "113.87.137.255"
},
"12": {
"timestamp": "2025-10-30 21:05:23",
"action": "管理员登录",
"ip": "113.87.139.170"
},
"13": {
"timestamp": "2025-10-30 17:28:24",
"action": "管理员注销",
"ip": "113.87.137.255"
},
"14": {
"timestamp": "2025-10-30 17:14:21",
"action": "管理员登录",
"ip": "113.87.137.255"
},
"operations": [
{
"id": "6902c8ca52d34",
"type": "add",
"fund_code": "123123",
"channel": "0",
"investment": 1000,
"details": "添加基金",
"timestamp": 1761790154,
"date": "2025-10-30 10:09:14"
},
{
"id": "6902c8d11928c",
"type": "delete",
"fund_code": "123123",
"channel": "0",
"investment": 1000,
"details": "删除基金",
"timestamp": 1761790161,
"date": "2025-10-30 10:09:21"
},
{
"id": "690303ba12e0b",
"type": "delete",
"fund_code": "017560",
"channel": "1",
"investment": 1000,
"details": "删除基金",
"timestamp": 1761805242,
"date": "2025-10-30 14:20:42"
},
{
"id": "690aeffc99bf3",
"type": "delete",
"fund_code": "003766",
"channel": "0",
"investment": 10000,
"details": "删除基金",
"timestamp": 1762324476,
"date": "2025-11-05 14:34:36"
},
{
"id": "690af008d8578",
"type": "delete",
"fund_code": "018994",
"channel": "0",
"investment": 1000,
"details": "删除基金",
"timestamp": 1762324488,
"date": "2025-11-05 14:34:48"
},
{
"id": "690af00b6106c",
"type": "delete",
"fund_code": "003567",
"channel": "0",
"investment": 1000,
"details": "删除基金",
"timestamp": 1762324491,
"date": "2025-11-05 14:34:51"
},
{
"id": "690af00e849e6",
"type": "delete",
"fund_code": "014320",
"channel": "1",
"investment": 1000,
"details": "删除基金",
"timestamp": 1762324494,
"date": "2025-11-05 14:34:54"
},
{
"id": "690af0623f151",
"type": "delete",
"fund_code": "001071",
"channel": "0",
"investment": 1000,
"details": "删除基金",
"timestamp": 1762324578,
"date": "2025-11-05 14:36:18"
},
{
"id": "690af06459fbc",
"type": "delete",
"fund_code": "004206",
"channel": "0",
"investment": 1000,
"details": "删除基金",
"timestamp": 1762324580,
"date": "2025-11-05 14:36:20"
},
{
"id": "690af06641d8c",
"type": "delete",
"fund_code": "019432",
"channel": "0",
"investment": 1000,
"details": "删除基金",
"timestamp": 1762324582,
"date": "2025-11-05 14:36:22"
},
{
"id": "690af0683bed6",
"type": "delete",
"fund_code": "003598",
"channel": "0",
"investment": 1000,
"details": "删除基金",
"timestamp": 1762324584,
"date": "2025-11-05 14:36:24"
},
{
"id": "690becaa0e959",
"type": "add",
"fund_code": "017560",
"channel": "1",
"investment": 1000,
"details": "添加基金",
"timestamp": 1762389162,
"date": "2025-11-06 08:32:42"
},
{
"id": "6912cce74b4c7",
"type": "add",
"fund_code": "011815",
"channel": "1",
"investment": 1000,
"details": "添加基金",
"timestamp": 1762839783,
"date": "2025-11-11 13:43:03"
},
{
"id": "6912cd0a18557",
"type": "update",
"fund_code": "011815",
"channel": "2",
"investment": 1000,
"details": "更新基金: 投资金额 1000 -> 1000",
"timestamp": 1762839818,
"date": "2025-11-11 13:43:38"
},
{
"id": "6912cd214bbaa",
"type": "add",
"fund_code": "003598",
"channel": "2",
"investment": 1000,
"details": "添加基金",
"timestamp": 1762839841,
"date": "2025-11-11 13:44:01"
},
{
"id": "6912cd2e79b67",
"type": "add",
"fund_code": "004206",
"channel": "2",
"investment": 1000,
"details": "添加基金",
"timestamp": 1762839854,
"date": "2025-11-11 13:44:14"
},
{
"id": "6912cd3839737",
"type": "add",
"fund_code": "022365",
"channel": "2",
"investment": 1000,
"details": "添加基金",
"timestamp": 1762839864,
"date": "2025-11-11 13:44:24"
},
{
"id": "6912cd4373db8",
"type": "add",
"fund_code": "022364",
"channel": "2",
"investment": 1000,
"details": "添加基金",
"timestamp": 1762839875,
"date": "2025-11-11 13:44:35"
},
{
"id": "6912cd51cdd4c",
"type": "add",
"fund_code": "011103",
"channel": "2",
"investment": 1000,
"details": "添加基金",
"timestamp": 1762839889,
"date": "2025-11-11 13:44:49"
},
{
"id": "6912cd644111a",
"type": "add",
"fund_code": "025825",
"channel": "0",
"investment": 1000,
"details": "添加基金",
"timestamp": 1762839908,
"date": "2025-11-11 13:45:08"
},
{
"id": "693b8bfaa63d0",
"type": "更新邮箱配置",
"fund_code": {
"smtp_server": "smtp.qq.com",
"username": "768057005@qq.com"
},
"channel": null,
"investment": null,
"details": "",
"timestamp": 1765510138,
"date": "2025-12-12 04:28:58"
},
{
"id": "693b8c04e98c3",
"type": "添加邮箱收件人",
"fund_code": {
"email": "test@example.com"
},
"channel": null,
"investment": null,
"details": "",
"timestamp": 1765510148,
"date": "2025-12-12 04:29:08"
},
{
"id": "693b8cd247748",
"type": "更新邮箱配置",
"fund_code": {
"smtp_server": "smtp.qq.com",
"username": "768057005@qq.com"
},
"channel": null,
"investment": null,
"details": "",
"timestamp": 1765510354,
"date": "2025-12-12 04:32:34"
},
{
"id": "693b8d0368150",
"type": "更新邮箱配置",
"fund_code": {
"smtp_server": "smtp.qq.com",
"username": "768057005@qq.com"
},
"channel": null,
"investment": null,
"details": "",
"timestamp": 1765510403,
"date": "2025-12-12 04:33:23"
},
{
"id": "693b8d7531808",
"type": "更新邮箱配置",
"fund_code": {
"smtp_server": "smtp.qq.com",
"username": "768057005@qq.com"
},
"channel": null,
"investment": null,
"details": "",
"timestamp": 1765510517,
"date": "2025-12-12 04:35:17"
},
{
"id": "693b8da74c31d",
"type": "更新邮箱配置",
"fund_code": {
"smtp_server": "smtp.qq.com",
"username": "768057005@qq.com"
},
"channel": null,
"investment": null,
"details": "",
"timestamp": 1765510567,
"date": "2025-12-12 04:36:07"
},
{
"id": "693b8dd0211df",
"type": "更新邮箱配置",
"fund_code": {
"smtp_server": "smtp.qq.com",
"username": "768057005@qq.com"
},
"channel": null,
"investment": null,
"details": "",
"timestamp": 1765510608,
"date": "2025-12-12 04:36:48"
},
{
"id": "693b9071c066e",
"type": "添加邮箱收件人",
"fund_code": {
"email": "1693710928@qq.com"
},
"channel": null,
"investment": null,
"details": "",
"timestamp": 1765511281,
"date": "2025-12-12 04:48:01"
}
]
}