Files
jj2/data/operation_log.json
LL 69ef47412d feat: 添加基金邮件定时发送功能并优化邮件内容格式
- 新增宝塔面板定时任务脚本 cron_send_email.php
- 添加手动发送邮件按钮到管理界面
- 使用PHPMailer替代原始SMTP实现
- 优化邮件内容格式,按涨跌幅排序基金数据
- 增加邮件发送时间窗口判断逻辑
- 更新项目文档说明定时任务配置
2025-12-12 17:10:03 +08:00

396 lines
11 KiB
JSON

{
"0": {
"timestamp": "2025-12-12 08:46:41",
"action": "管理员登录",
"ip": "::1"
},
"1": {
"timestamp": "2025-12-12 08:05:44",
"action": "管理员登录",
"ip": "::1"
},
"2": {
"timestamp": "2025-12-12 08:00:34",
"action": "管理员登录",
"ip": "::1"
},
"3": {
"timestamp": "2025-12-12 04:47:50",
"action": "管理员登录",
"ip": "::1"
},
"4": {
"timestamp": "2025-12-12 04:17:07",
"action": "管理员登录",
"ip": "::1"
},
"5": {
"timestamp": "2025-11-11 13:41:58",
"action": "管理员登录",
"ip": "113.87.139.184"
},
"6": {
"timestamp": "2025-11-06 08:31:27",
"action": "管理员登录",
"ip": "113.87.138.191"
},
"7": {
"timestamp": "2025-11-05 14:45:57",
"action": "管理员登录",
"ip": "113.87.138.191"
},
"8": {
"timestamp": "2025-11-05 14:34:30",
"action": "管理员登录",
"ip": "113.87.138.191"
},
"9": {
"timestamp": "2025-11-05 09:47:16",
"action": "管理员登录",
"ip": "113.87.138.191"
},
"10": {
"timestamp": "2025-11-01 23:18:46",
"action": "管理员登录",
"ip": "113.87.139.206"
},
"11": {
"timestamp": "2025-10-31 23:11:13",
"action": "管理员登录",
"ip": "113.84.8.124"
},
"12": {
"timestamp": "2025-10-31 10:20:41",
"action": "管理员注销",
"ip": "113.87.137.255"
},
"13": {
"timestamp": "2025-10-31 10:18:31",
"action": "管理员登录",
"ip": "113.87.137.255"
},
"14": {
"timestamp": "2025-10-31 09:08:47",
"action": "管理员登录",
"ip": "113.87.137.255"
},
"15": {
"timestamp": "2025-10-30 21:05:23",
"action": "管理员登录",
"ip": "113.87.139.170"
},
"16": {
"timestamp": "2025-10-30 17:28:24",
"action": "管理员注销",
"ip": "113.87.137.255"
},
"17": {
"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"
}
]
}