修改消息队列

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" import "net"
const ( const (
mqHost = "139.196.82.110" mqHost = "127.0.0.1"
mqPort = "61613" mqPort = "61613"
MqOrderQuery = "order_query" MqOrderQuery = "order_query"

View File

@ -10,9 +10,9 @@
package conf package conf
const ( const (
DB_HOST = "localhost" DB_HOST = "rm-z7fchopj.mysql.rds.aliyuncs.com"
DB_PORT = "3306" DB_PORT = "3306"
DB_USER = "root" DB_USER = "dongfeng"
DB_PASSWORD = "" DB_PASSWORD = "UekR24BwfKx&^E5bcq43f"
DB_BASE = "pay_pay" DB_BASE = "dongfeng"
) )

View File

@ -10,8 +10,8 @@
package controller package controller
import ( import (
"github.com/astaxie/beego/logs"
"dongfeng-pay/service/common" "dongfeng-pay/service/common"
"github.com/astaxie/beego/logs"
) )
var registerSupplier = make(map[string]PayInterface) var registerSupplier = make(map[string]PayInterface)

View File

@ -10,9 +10,9 @@
package message_queue package message_queue
import ( import (
"dongfeng-pay/service/common"
"github.com/astaxie/beego/logs" "github.com/astaxie/beego/logs"
"github.com/go-stomp/stomp" "github.com/go-stomp/stomp"
"dongfeng-pay/service/common"
"os" "os"
"time" "time"
) )

View File

@ -10,9 +10,9 @@
package service_init package service_init
import ( import (
"dongfeng-pay/service/controller"
_ "dongfeng-pay/service/message_queue" _ "dongfeng-pay/service/message_queue"
"dongfeng-pay/service/models" "dongfeng-pay/service/models"
"dongfeng-pay/service/controller"
) )
func InitAll() { func InitAll() {