fix
This commit is contained in:
parent
3ce253b1e5
commit
edf89ea301
|
@ -23,7 +23,6 @@ func main() {
|
|||
|
||||
var c config.Config
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
}))
|
||||
defer server.Stop()
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Name: assistant
|
||||
Host: 0.0.0.0
|
||||
Port: 9950
|
||||
Timeout: 15000 #服务超时时间
|
||||
SourceMysql: fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest
|
||||
Auth:
|
||||
AccessSecret: fusen2023
|
||||
|
|
|
@ -22,7 +22,6 @@ func main() {
|
|||
|
||||
var c config.Config
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Name: backend
|
||||
Host: 0.0.0.0
|
||||
Port: 9901
|
||||
Timeout: 15000 #服务超时时间
|
||||
SourceMysql: fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest
|
||||
Auth:
|
||||
AccessSecret: fusen_backend_2023
|
||||
|
|
|
@ -23,7 +23,7 @@ func main() {
|
|||
|
||||
var c config.Config
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
}))
|
||||
defer server.Stop()
|
||||
|
|
|
@ -23,8 +23,6 @@ func main() {
|
|||
var c config.Config
|
||||
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Name: canteen
|
||||
Host: 0.0.0.0
|
||||
Port: 9902
|
||||
Timeout: 15000 #服务超时时间
|
||||
SourceMysql: fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest
|
||||
Auth:
|
||||
AccessSecret: fusen2023
|
||||
|
|
|
@ -21,7 +21,6 @@ func main() {
|
|||
|
||||
var c config2.Config
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Name: data-transfer
|
||||
Host: 0.0.0.0
|
||||
Port: 9903
|
||||
Timeout: 15000 #服务超时时间
|
||||
SourceMysql: fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest
|
||||
Auth:
|
||||
AccessSecret: fusen2023
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Name: home-user-auth
|
||||
Host: 0.0.0.0
|
||||
Port: 9904
|
||||
Timeout: 15000 #服务超时时间
|
||||
MainAddress: "http://localhost:9900"
|
||||
SourceMysql: fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@ func main() {
|
|||
var c config.Config
|
||||
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Name: inventory
|
||||
Host: 0.0.0.0
|
||||
Port: 9905
|
||||
|
||||
Timeout: 15000 #服务超时时间
|
||||
SourceMysql: fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest
|
||||
Auth:
|
||||
AccessSecret: fusen2023
|
||||
|
|
|
@ -22,7 +22,6 @@ func main() {
|
|||
|
||||
var c config.Config
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Name: map-library
|
||||
Host: 0.0.0.0
|
||||
Port: 9906
|
||||
Timeout: 15000 #服务超时时间
|
||||
SourceMysql: fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest
|
||||
Auth:
|
||||
AccessSecret: fusen2023
|
||||
|
|
|
@ -22,7 +22,6 @@ func main() {
|
|||
|
||||
var c config.Config
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Name: orders
|
||||
Host: 0.0.0.0
|
||||
Port: 9907
|
||||
Timeout: 15000 #服务超时时间
|
||||
SourceMysql: fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest
|
||||
Auth:
|
||||
AccessSecret: fusen2023
|
||||
|
|
|
@ -22,7 +22,6 @@ func main() {
|
|||
|
||||
var c config.Config
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Name: pay
|
||||
Host: 0.0.0.0
|
||||
Port: 9915
|
||||
Timeout: 15000 #服务超时时间
|
||||
SourceMysql: fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest
|
||||
Auth:
|
||||
AccessSecret: fusen2023
|
||||
|
|
|
@ -23,7 +23,6 @@ func main() {
|
|||
|
||||
var c config.Config
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
}))
|
||||
defer server.Stop()
|
||||
|
|
|
@ -22,7 +22,6 @@ func main() {
|
|||
|
||||
var c config.Config
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Name: product-template-tag
|
||||
Host: 0.0.0.0
|
||||
Port: 9917
|
||||
Timeout: 15000 #服务超时时间
|
||||
SourceMysql: fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest
|
||||
Auth:
|
||||
AccessSecret: fusen2023
|
||||
|
|
|
@ -23,7 +23,6 @@ func main() {
|
|||
|
||||
var c config.Config
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
}))
|
||||
defer server.Stop()
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Name: product-template
|
||||
Host: 0.0.0.0
|
||||
Port: 9910
|
||||
Timeout: 15000 #服务超时时间
|
||||
SourceMysql: fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest
|
||||
Auth:
|
||||
AccessSecret: fusen2023
|
||||
|
|
|
@ -22,7 +22,6 @@ func main() {
|
|||
|
||||
var c config.Config
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Name: product
|
||||
Host: 0.0.0.0
|
||||
Port: 9908
|
||||
Timeout: 15000 #服务超时时间
|
||||
SourceMysql: fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest
|
||||
Auth:
|
||||
AccessSecret: fusen2023
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Name: render
|
||||
Host: 0.0.0.0
|
||||
Port: 9919
|
||||
Timeout: 15000 #服务超时时间
|
||||
SourceMysql: fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest
|
||||
Auth:
|
||||
AccessSecret: fusen2023
|
||||
|
|
|
@ -26,7 +26,6 @@ func main() {
|
|||
|
||||
var c config.Config
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
}))
|
||||
defer server.Stop()
|
||||
|
|
|
@ -23,7 +23,6 @@ func main() {
|
|||
|
||||
var c config.Config
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
}))
|
||||
defer server.Stop()
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Name: shopping-cart-confirmation
|
||||
Host: 0.0.0.0
|
||||
Port: 9911
|
||||
Timeout: 15000 #服务超时时间
|
||||
SourceMysql: fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest
|
||||
Auth:
|
||||
AccessSecret: fusen2023
|
||||
|
|
|
@ -22,7 +22,6 @@ func main() {
|
|||
|
||||
var c config.Config
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Name: upload
|
||||
Host: 0.0.0.0
|
||||
Port: 9912
|
||||
Timeout: 15000 #服务超时时间
|
||||
SourceMysql: "fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest"
|
||||
Env: "test"
|
||||
Auth:
|
||||
|
|
|
@ -22,7 +22,6 @@ func main() {
|
|||
|
||||
var c config.Config
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Name: webset
|
||||
Host: 0.0.0.0
|
||||
Port: 9913
|
||||
Timeout: 15000 #服务超时时间
|
||||
SourceMysql: "fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest"
|
||||
Auth:
|
||||
AccessSecret: fusen2023
|
||||
|
|
|
@ -22,7 +22,6 @@ func main() {
|
|||
|
||||
var c config.Config
|
||||
conf.MustLoad(*configFile, &c)
|
||||
c.Timeout = int64(time.Second * 15)
|
||||
|
||||
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user