Browse Source

添加参数

pull/260/head
zhangxin 3 years ago
parent
commit
39feb28b8f
2 changed files with 3 additions and 1 deletions
  1. +1
    -0
      conf/config.go
  2. +2
    -1
      conf/config.yaml

+ 1
- 0
conf/config.go View File

@ -26,6 +26,7 @@ type EnvConfig struct {
AndonTouchOff string `yaml:"andontouchoff"` AndonTouchOff string `yaml:"andontouchoff"`
PortalGetTimeUrl string `yaml:"portalgettimeurl"` PortalGetTimeUrl string `yaml:"portalgettimeurl"`
PortalPostFileUrl string `yaml:"portalpostfileurl"` PortalPostFileUrl string `yaml:"portalpostfileurl"`
PortalHost string `yaml:"portalhost"`
} }
//read yaml config //read yaml config


+ 2
- 1
conf/config.yaml View File

@ -27,4 +27,5 @@ outbox: D:\Go\gopath\src\leit.com\lapp_-gaas_-gframe\doc\Outbox
# mes andon url # mes andon url
andontouchoff: http://10.84.128.80:4000/Features/API/Andon/api/WebCmd/AndonRequest andontouchoff: http://10.84.128.80:4000/Features/API/Andon/api/WebCmd/AndonRequest
portalgettimeurl: http://101.201.121.115:8097/admin/log/artdemandlst/selectlastmodify portalgettimeurl: http://101.201.121.115:8097/admin/log/artdemandlst/selectlastmodify
portalpostfileurl: http://101.201.121.115:8097/admin/log/artdemandlst/synchronous
portalpostfileurl: http://101.201.121.115:8097/admin/log/artdemandlst/synchronous
portalhost: 101.201.121.115:8097

Loading…
Cancel
Save