mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2024-11-25 19:59:26 +08:00
修改消息队列
This commit is contained in:
parent
8d4382cc82
commit
314d69b49e
@ -12,7 +12,7 @@ package common
|
||||
import "net"
|
||||
|
||||
const (
|
||||
mqHost = "139.196.82.110"
|
||||
mqHost = "127.0.0.1"
|
||||
mqPort = "61613"
|
||||
|
||||
MqOrderQuery = "order_query"
|
||||
|
@ -10,9 +10,9 @@
|
||||
package conf
|
||||
|
||||
const (
|
||||
DB_HOST = "localhost"
|
||||
DB_HOST = "rm-z7fchopj.mysql.rds.aliyuncs.com"
|
||||
DB_PORT = "3306"
|
||||
DB_USER = "root"
|
||||
DB_PASSWORD = ""
|
||||
DB_BASE = "pay_pay"
|
||||
DB_USER = "dongfeng"
|
||||
DB_PASSWORD = "UekR24BwfKx&^E5bcq43f"
|
||||
DB_BASE = "dongfeng"
|
||||
)
|
||||
|
@ -10,8 +10,8 @@
|
||||
package controller
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/logs"
|
||||
"dongfeng-pay/service/common"
|
||||
"github.com/astaxie/beego/logs"
|
||||
)
|
||||
|
||||
var registerSupplier = make(map[string]PayInterface)
|
||||
|
@ -10,9 +10,9 @@
|
||||
package message_queue
|
||||
|
||||
import (
|
||||
"dongfeng-pay/service/common"
|
||||
"github.com/astaxie/beego/logs"
|
||||
"github.com/go-stomp/stomp"
|
||||
"dongfeng-pay/service/common"
|
||||
"os"
|
||||
"time"
|
||||
)
|
||||
|
@ -10,9 +10,9 @@
|
||||
package service_init
|
||||
|
||||
import (
|
||||
"dongfeng-pay/service/controller"
|
||||
_ "dongfeng-pay/service/message_queue"
|
||||
"dongfeng-pay/service/models"
|
||||
"dongfeng-pay/service/controller"
|
||||
)
|
||||
|
||||
func InitAll() {
|
||||
|
Loading…
Reference in New Issue
Block a user