Files
wxauto_api/plugin_config.json
2026-04-07 14:11:45 +08:00

48 lines
1.7 KiB
JSON

{
"name": "advanced_sender",
"config": {
"cron": "*/2 * * * *",
"external_db": {
"host": "192.168.2.27",
"user": "root2",
"password": "root@root",
"database": "addb",
"port": 3306,
"charset": "utf8mb4"
},
"db_table": "user_data",
"sendto_field": "sendto",
"datasources": [
{
"name": "source1",
"url": "https://xiansuo2.lfgzyx.com/admin/customer/sales/index?addtabs=1&sort=id&order=desc&offset=0&limit=50",
"headers": {
"Cookie": "PHPSESSID=fccjr2k0j8kb19tn0rdmlvkob4; think_var=zh-cn; keeplogin=1041%7C86400%7C1775608752%7C5e9aac1d434f86f0586746d873cdfec5",
"Content-Type": "application/json",
"Accept": "application/json, text/javascript, */*; q=0.01",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 Edg/140.0.0.0",
"X-Requested-With": "XMLHttpRequest"
},
"verify_ssl": true,
"zhid": "1"
},
{
"name": "source2",
"url": "https://xiansuo2.lfgzyx.com/admin/customer/sales/index?addtabs=1&sort=id&order=desc&offset=0&limit=50",
"headers": {
"Cookie": "PHPSESSID=3hk0unlg9f27bgbg992n52k567; think_var=zh-cn",
"Content-Type": "application/json",
"Accept": "application/json, text/javascript, */*; q=0.01",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
"X-Requested-With": "XMLHttpRequest"
},
"verify_ssl": true,
"zhid": "2"
}
],
"node_id": "wx1",
"receiver": "asq",
"fetch_timeout": 15,
"send_interval_between_sources": 20
}
}