@@ -2,8 +2,8 @@ git add .
git commit -m '提交测试'
git push
-ssh root@192.168.175.60 -p kaiwu123
+#ssh root@192.168.175.60 -p kaiwu123
-git pull
+#git pull
-./install.sh
+#./install.sh
@@ -56,7 +56,7 @@ func registerRouter(app *iris.Application) {
if *conDomain == "" {
fileURL = "http://" + server.GetHTTPHost() + "/upload/tmp/" + newname
} else {
- fileURL = *conDomain
+ fileURL = "http://" + *conDomain + "/upload/tmp/" + newname
}
ctx.JSON(map[string]interface{}{
"code": 0,