Commit fe3a7b9d by mushishixian

忽略

parent 3b26bc2c
Showing with 36 additions and 10 deletions
......@@ -8,7 +8,6 @@ scm_server
*.iml
*.exe
/logs
/conf/config.ini
/components
/storage/app
/storage/framework
......
[mysql]
username = root
password = root
host = 192.168.2.250
database = lie_scm_wms_sync
[rabbitmq]
url = "amqp://huntadmin:jy2y2900@192.168.1.237:5672/"
[api]
base = http://192.168.2.232:40001
out_store = http://192.168.2.232:40003
in_store = http://192.168.2.232:40004
erp_sync_base_data_status = http://192.168.2.253:6888/ormrpc/services/WSInventoryManagementFacade?wsdl
erp_sync_bill_status = http://192.168.2.253:6888/ormrpc/services/WSInventoryManagementFacade?wsdl
erp_login_status = http://192.168.2.253:6888/ormrpc/services/EASLogin?wsdl
[falcon]
push_url = http://192.168.1.237:1988/v1/push
[erp]
userName = WBYH
password = 123456
slnName = eas
dcName = demo
language = L2
dbType = 1
authPattern = BaseDB
package main
import (
"flag"
"scm_server/cmd/queue/sync_audit_status"
"scm_server/cmd/queue/sync_customer"
"scm_server/cmd/queue/sync_goods"
......@@ -53,15 +52,15 @@ func pushAlive() {
}
}
var (
ConfFile string // 配置文件路径
)
//var (
// ConfFile string // 配置文件路径
//)
func init() {
// master -config ./conf/config.ini
flag.StringVar(&ConfFile, "config", "./conf/config.ini", "./conf/config.ini")
flag.Parse()
}
//func init() {
// // master -config ./conf/config.ini
// flag.StringVar(&ConfFile, "config", "./conf/config.ini", "./conf/config.ini")
// flag.Parse()
//}
func main() {
go sync_customer.Sync()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment