diff --git a/UniAnalytics_linux_amd64 b/UniAnalytics_linux_amd64
deleted file mode 100644
index d1eb05d..0000000
Binary files a/UniAnalytics_linux_amd64 and /dev/null differ
diff --git a/UniAnalytics_macos_amd64 b/UniAnalytics_macos_amd64
deleted file mode 100644
index 500fa1c..0000000
Binary files a/UniAnalytics_macos_amd64 and /dev/null differ
diff --git a/html/analytics.html b/html/analytics.html
new file mode 100644
index 0000000..e0b57c4
--- /dev/null
+++ b/html/analytics.html
@@ -0,0 +1,14 @@
+{{ define "jump.html" }}
+
+
+
+
+
+
+ 统计
+
+
+
+
+
+{{ end }}
\ No newline at end of file
diff --git a/main.go b/main.go
index 4bd93bf..f4bff48 100644
--- a/main.go
+++ b/main.go
@@ -24,7 +24,7 @@ type Config struct {
}
func init() {
- fmt.Println("===== UniAnalytics v0.2.1 =====")
+ fmt.Println("===== UniAnalytics v0.2.2 =====")
log.Println("初始化中...")
t := time.Now()
util.InitConfig()
diff --git a/util/sql.go b/util/sql.go
index 280a5e1..42961c1 100644
--- a/util/sql.go
+++ b/util/sql.go
@@ -48,11 +48,6 @@ func AddSql(url string, ip string) {
stmt, err := db.Prepare("INSERT INTO links(uid, created_at, url, ip, type) values(?,?,?,?,?)")
checkErr(err)
stmt.Exec(nil, time.Now().Format("2006-01-02 15:04:05"), url, ip, 0)
- // res, err := stmt.Exec(nil, time.Now().Format("2006-01-02 15:04:05"), url, 0)
- // checkErr(err)
- // id, err := res.LastInsertId()
- // checkErr(err)
- // fmt.Println(id)
db.Close()
}