Initial commit of Tmall new-product analysis loop v9.2.5.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
喻长发
2026-09-03 15:42:05 +08:00
co-authored by Cursor
commit 42223969db
55 changed files with 9760 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
PORT=17962
V=$(curl -fsS "http://127.0.0.1:$PORT/health" 2>/dev/null | python3 -c 'import sys,json
try: print(json.load(sys.stdin).get("serverVersion",""))
except: print("")' 2>/dev/null || true)
if [ -n "$V" ]; then
PID="$(lsof -tiTCP:$PORT -sTCP:LISTEN 2>/dev/null | head -1 || true)"
[ -n "$PID" ] && kill "$PID" 2>/dev/null || true
fi
osascript -e 'display notification "本地服务已停止" with title "三笙电商商品分析"' 2>/dev/null || true