From c55e26021b9454e6a298c1e52a06cf7857c71749 Mon Sep 17 00:00:00 2001 From: hoteas Date: Sat, 20 Aug 2022 11:20:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/config/config.json | 7 +++---- example/main.go | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/example/config/config.json b/example/config/config.json index 63f1577..ee1cf4c 100644 --- a/example/config/config.json +++ b/example/config/config.json @@ -23,11 +23,10 @@ ], "db": { "mysql": { - "host": "192.168.2.20", - "name": "gov_crawler", - "password": "fh22y8b882d", + "host": "192.168.6.253", + "name": "dgs-cms", + "password": "dasda8454456", "port": "3306", - "prefix": "", "user": "root" } }, diff --git a/example/main.go b/example/main.go index 5995203..525e591 100644 --- a/example/main.go +++ b/example/main.go @@ -2,7 +2,6 @@ package main import ( . "code.hoteas.com/golang/hotime" - "code.hoteas.com/golang/hotime/example/app" ) func main() { @@ -13,6 +12,6 @@ func main() { return isFinished }) - appIns.Run(Router{"app": app.AppProj}) + appIns.Run(Router{}) }