互动
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.

74 lines
2.1 KiB

5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. package define
  2. var IsDebugging = true
  3. func SetDebug(modes ...bool) {
  4. if len(modes) > 0 {
  5. IsDebugging = modes[0]
  6. } else {
  7. IsDebugging = false
  8. }
  9. if IsDebugging {
  10. //RoomPrefix = "test_"
  11. //HOST = "https://ouxuanhudong.utools.club"
  12. HOST = "http://ouxuanhudongapi.t.3pr.com.cn/"
  13. H5Host = "http://ouxuanhudongtest.t.3pr.com.cn/web"
  14. //SendUrl = "https://wsouxuanhudong.utools.club/PcClient/Ws/MessageCtl/Receive"
  15. SendUrl = "http://ouxuanhudongws.t.3pr.com.cn/PcClient/Ws/MessageCtl/Receive"
  16. CallbackOrderUrl = "http://ouxuanhudongapi.t.3pr.com.cn/PcClient/common/WeChatOauthCtl/callbackOrder"
  17. }
  18. }
  19. var CallbackOrderUrl = "https://api.ouxuanhudong.com/PcClient/common/WeChatOauthCtl/callbackOrder"
  20. var (
  21. SendUrl = "https://api.ouxuanhudong.com:20182/PcClient/Ws/MessageCtl/Receive"
  22. HOST = "https://api.ouxuanhudong.com"
  23. H5Host = "https://h5.ouxuanhudong.com/web"
  24. )
  25. const (
  26. H5Index = "index.html"
  27. H5SignIn = "SignIn.html"
  28. H5ShakeRb = "shakeRb.html"
  29. H5TugOfWar = "tugOfWar.html"
  30. H5TugOfWar2020 = "tugOfWar2020.html"
  31. H5UpperWall = "UpperWall.html"
  32. H5Barrage = "barrage.html"
  33. H5Order = "order.html"
  34. H5Reward = "reward.html"
  35. H5BScreen = "bScreen.html"
  36. H5Auction = "auction.html"
  37. H5Vote = "vote.html"
  38. H5Calorie = "calorie.html"
  39. )
  40. // 固定长度
  41. var DefaultOrderNo = 10000000000
  42. // 微信常量
  43. const (
  44. // 欧轩互动 -> 普通商户
  45. ApiKey = `2c82c64ceec6ba89ffc9f593c671a12f`
  46. WxAppId = `wx7b0bcf476552c5e9`
  47. Secret = `f6aabdd40ea25272f4442603a7dc8028`
  48. AppId = `wx7b0bcf476552c5e9`
  49. MchId = `1394404502`
  50. SubMchId = ``
  51. // 欧轩 -> 服务商
  52. //ApiKey = `6e281c8b5430c674034594cab789334F`
  53. //AppId = `wx662a1633304bfd42`
  54. //WxAppId = `wx662a1633304bfd42`
  55. //Secret = `7e4ecfe06ad1e075c210059d5b0162a3`
  56. //MchId = `1441266702`
  57. //SubMchId = `1394404502`
  58. //SubMchId = `1594049151`
  59. // 认证服务号:欧轩(用于申请微信服务商)
  60. // AppID:wx662a1633304bfd42
  61. // 密钥:7e4ecfe06ad1e075c210059d5b0162a3
  62. WxHost = `https://api.mch.weixin.qq.com`
  63. WxBack = `https://api2.mch.weixin.qq.com`
  64. ClientIp = `123.207.246.51`
  65. )