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

68 lines
1.7 KiB

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