mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2024-12-24 19:02:24 +08:00
修改消息队列
This commit is contained in:
parent
8d4382cc82
commit
314d69b49e
@ -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"
|
||||||
|
@ -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"
|
||||||
)
|
)
|
||||||
|
@ -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)
|
||||||
|
@ -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"
|
||||||
)
|
)
|
||||||
|
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user