修改消息队列

This commit is contained in:
kongyuebin 2020-11-17 12:17:40 +08:00
parent 8d4382cc82
commit 314d69b49e
5 changed files with 8 additions and 8 deletions

View File

@ -12,7 +12,7 @@ package common
import "net"
const (
mqHost = "139.196.82.110"
mqHost = "127.0.0.1"
mqPort = "61613"
MqOrderQuery = "order_query"

View File

@ -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"
)

View File

@ -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)

View File

@ -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"
)

View File

@ -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() {