Browse Source

fix:bug

dev
Tooooommy 4 years ago
parent
commit
927a5a8c07
  1. 2
      utils/define/config.go
  2. 52
      utils/define/define.go

2
utils/define/config.go

@ -22,7 +22,7 @@ func SetDebug(modes ...bool) {
var CallbackOrderUrl = "https://api.ouxuanhudong.com/PcClient/common/WeChatOauthCtl/callbackOrder"
var (
SendUrl = "https://api.ouxuanhudong.com:20182/PcClient/Connect/MessageCtl/Receive"
SendUrl = "https://api.ouxuanhudong.com:20182/PcClient/Ws/MessageCtl/Receive"
HOST = "https://api.ouxuanhudong.com"
H5Host = "https://h5.ouxuanhudong.com/web"
)

52
utils/define/define.go

@ -56,28 +56,6 @@ const MODULE_BESIDE_REPEAT = "去除"
const (
TOKEN = "token"
)
//const (
// WSSENDURL = "https://api.ouxuanhudong.com:20182/PcClient/Handle/MessageCtl/Receive"
// 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"
//)
const (
TYPE_USER = "h5user"
TYPE_CUSTOMER = "customer"
@ -87,36 +65,6 @@ const (
TYPE_LIVEUSER = "live_user" // 直播
)
// 固定长度
//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`
//)
const (
CODE_SUCCESS = "SUCCESS" // 成功
CODE_FAIL = "FAIL" // 失败

Loading…
Cancel
Save