互动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.7 KiB

package define
var IsDebugging = true
func SetDebug(modes ...bool) {
if len(modes) > 0 {
IsDebugging = modes[0]
} else {
IsDebugging = false
}
if IsDebugging {
//RoomPrefix = "test_"
HOST = "https://hdzj.utools.club"
H5Host = "http://ouxuanhudongtest.t.3pr.com.cn/web"
SendUrl = "https://hdzjws.utools.club/PcClient/Ws/MessageCtl/Receive"
}
}
var (
SendUrl = "https://api.ouxuanhudong.com:20182/PcClient/Connect/MessageCtl/Receive"
RoomPrefix = ""
HOST = "https://api.ouxuanhudong.com"
H5Host = "https://h5.ouxuanhudong.com/web"
)
const (
H5Index = "index.html"
H5SignIn = "SignIn.html"
H5ShakeRb = "shakeRb.html"
H5TugOfWar = "tugOfWar.html"
H5UpperWall = "UpperWall.html"
H5Barrage = "barrage.html"
H5Order = "order.html"
H5Reward = "reward.html"
H5BScreen = "bScreen.html"
H5Auction = "auction.html"
H5Vote = "vote.html"
H5Calorie = "calorie.html"
)
// 固定长度
var DefaultOrderNo = 10000000000
// 微信常量
const (
// 欧轩互动 -> 普通商户
ApiKey = `2c82c64ceec6ba89ffc9f593c671a12f`
WxAppId = `wx7b0bcf476552c5e9`
Secret = `f6aabdd40ea25272f4442603a7dc8028`
AppId = `wx7b0bcf476552c5e9`
MchId = `1394404502`
SubMchId = ``
// 欧轩 -> 服务商
//ApiKey = `6e281c8b5430c674034594cab789334F`
//AppId = `wx662a1633304bfd42`
//WxAppId = `wx662a1633304bfd42`
//Secret = `7e4ecfe06ad1e075c210059d5b0162a3`
//MchId = `1441266702`
//SubMchId = `1394404502`
//SubMchId = `1594049151`
// 认证服务号:欧轩(用于申请微信服务商)
// AppID:wx662a1633304bfd42
// 密钥:7e4ecfe06ad1e075c210059d5b0162a3
WxHost = `https://api.mch.weixin.qq.com`
WxBack = `https://api2.mch.weixin.qq.com`
ClientIp = `123.207.246.51`
)