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

72 lines
2.0 KiB

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