feat:增加用户资产和会员状态
This commit is contained in:
@ -69,10 +69,7 @@ func (this *Serve) Run() {
|
||||
app.Init()
|
||||
tools.Init()
|
||||
// 开启Elasticsearch
|
||||
es.NewInstance(es.WithEsAddress([]string{""}),
|
||||
es.WithEsUsername(""),
|
||||
es.WithEsPassword(""),
|
||||
).Init().Local()
|
||||
es.NewInstance(es.WithEsAddress([]string{"http://192.168.0.188:9200"})).Init().Local()
|
||||
// 开启web
|
||||
web.NewWeb()(&web.WebConfig{
|
||||
Port: config.SettingInfo.Server.Port, ReadTimeout: config.SettingInfo.Server.ReadTimeout,
|
||||
|
Reference in New Issue
Block a user