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

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