mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2024-11-14 22:49:21 +08:00
23 lines
541 B
Go
23 lines
541 B
Go
package main
|
|
|
|
import (
|
|
"github.com/astaxie/beego"
|
|
"github.com/astaxie/beego/logs"
|
|
"juhe/jhmicro/notify"
|
|
"juhe/jhmicro/order_settle"
|
|
"juhe/jhmicro/pay_for"
|
|
"juhe/jhmicro/query"
|
|
"juhe/service/service_init"
|
|
)
|
|
|
|
func main() {
|
|
logs.SetLogger(logs.AdapterFile, `{"level": 7, "color":true, "filename":"jhmicro.log"}`)
|
|
service_init.InitAll()
|
|
go notify.CreateOrderNotifyConsumer()
|
|
go query.CreateSupplierOrderQueryCuConsumer()
|
|
go pay_for.PayForInit()
|
|
go query.CreatePayForQueryConsumer()
|
|
go order_settle.OrderSettleInit()
|
|
beego.Run()
|
|
}
|