优化日志

This commit is contained in:
duanhf2012
2019-12-17 16:46:47 +08:00
parent 7c37cba487
commit 01992fac21
4 changed files with 10 additions and 11 deletions

View File

@@ -23,11 +23,11 @@ func init() {
//OnInit ...
func (ws *SubNet1_Service1) OnInit() error {
originhttp.Post(" / aaa/bb/ :user/:pass/", ws.HTTP_UserIntegralInfo)
originhttp.Post("", ws.HTTP_UserIntegralInfo)
originhttp.Post(" /aaa/bbb", ws.Test)
originhttp.Get(" /aaa/bbb", ws.HTTP_UserIntegralInfo)
originhttp.Get("/Login/bbb", ws.HTTP_UserIntegralInfo)
originhttp.SetStaticResource(originhttp.METHOD_GET, "/file/", "d:\\")
return nil
}

View File

@@ -1,7 +1,6 @@
package main
import (
"github.com/duanhf2012/origin/cluster"
"github.com/duanhf2012/origin/originnode"
"github.com/duanhf2012/origin/sysservice/originhttp"

View File

@@ -4,7 +4,7 @@
"path": "."
},
{
"path": "D:\\GOPATH\\src\\github.com\\duanhf2012\\origin"
"path": "D:\\GOPATH\\src\\github.com"
}
],
"settings": {