mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2024-11-16 23:49:20 +08:00
26 lines
562 B
Go
26 lines
562 B
Go
/***************************************************
|
|
** @Desc : This file for ...
|
|
** @Time : 2019/11/6 11:37
|
|
** @Author : yuebin
|
|
** @File : mq_config
|
|
** @Last Modified by : yuebin
|
|
** @Last Modified time: 2019/11/6 11:37
|
|
** @Software: GoLand
|
|
****************************************************/
|
|
package common
|
|
|
|
import "net"
|
|
|
|
const (
|
|
mqHost = "139.196.82.110"
|
|
mqPort = "61613"
|
|
|
|
MqOrderQuery = "order_query"
|
|
MQ_PAYFOR_QUERY = "payfor_query"
|
|
MqOrderNotify = "order_notify"
|
|
)
|
|
|
|
func GetMQAddress() string {
|
|
return net.JoinHostPort(mqHost, mqPort)
|
|
}
|