GameGameConfig.php 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?php
  2. // 游戏配置
  3. use think\facade\Env;
  4. // 游戏大类
  5. $GLOBALS['gameGameTypeConfig'] = [
  6. "1" => 'Spribe',
  7. '2' => 'PG'
  8. ];
  9. $GLOBALS['gamePgGameConfig'] = [
  10. //
  11. 'game_rounds' => [50, 60, 70, 80, 90, 100, 150, 200, 300, 400, 500],
  12. 'game_max_rtp' => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
  13. 'order_status' => [
  14. '2' => '成功',
  15. '1' => '警告',
  16. '0' => '异常',
  17. ],
  18. 'transform_status' => [
  19. '2' => '待处理',
  20. '1' => '成功',
  21. '0' => '失败',
  22. ],
  23. //RTP档位
  24. 'rtp_config' => [70,75,80,85,90,93,95,97,99,102],
  25. // 押注等级
  26. 'deposit_level' => [1,2,3,4,5,6,7,8,9,10],
  27. // 默认押注等级
  28. 'default_deposit_level' => 10,
  29. // 线数
  30. 'line_numbers' => 30,
  31. // 返还类型
  32. 'rtp_type_config' => [
  33. '1' => ['name' => '心跳型', 'desc' => '玩家中奖倍数大,中奖率相对较低,短时间赢取大奖的几率较高,在玩家戏局数不是非常少时,游戏总体RTP和玩家个人RTP均较稳定'],
  34. '2' => ['name' => '平缓型', 'desc' => '玩家中奖倍数较小,中奖半相对较高,短时间赢取大奖的几率较低,在玩家游戏局数不是非常少时,游戏总体RTP和玩家个人RTP均较稳逆'],
  35. '3' => ['name' => '混合型', 'desc' => '中奖倍致,中奖率,短时间赢取大奖的几率介于心跳型和平缓型之间,在玩家游戏局数不是非常少时,游戏总体RTP和玩家个人RTP均较稳定'],
  36. '4' => ['name' => '仿正版', 'desc' => '短时间内游戏RTP波动较大,长期来看游戏RTP超于稳定,玩家个人RTP可能会出现爆输爆赢的情况,能出非常大的倍数,平台玩家不多时请谨慎使用'],
  37. ],
  38. // 游戏玩法类型
  39. 'play_type' => [
  40. '1' => '连消',
  41. '2' => '免费旋转',
  42. '3' => '重转',
  43. '4' => '高倍',
  44. ],
  45. "login_status" => [
  46. "1" => "成功",
  47. "0" => "失败"
  48. ],
  49. "behavior_status" => [
  50. "1" => "成功",
  51. "0" => "失败"
  52. ]
  53. ];
  54. $max_multiple = [];
  55. $diff_multiple = 50;
  56. for($diff_gm = 50; $diff_gm <= 100000; $diff_gm += $diff_multiple) {
  57. $max_multiple[] = $diff_gm;
  58. if($diff_gm >= 1000) {
  59. $diff_multiple = 100;
  60. }
  61. }
  62. $GLOBALS['gamePgGameConfig']['max_multiple'] = $max_multiple;
  63. $GLOBALS['FeedUserConfig'] = [
  64. "net_income" => [10, 20, 30, 50, 70, 100, 200, 500, 1000, 1500, 2000, 3000, 5000, 10000, 50000, 100000, 500000, 1000000],
  65. "turnover_multiple" => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 30, 50, 100, 500, 1000, 5000],
  66. "evaluation_period" => [
  67. "1" => "每日",
  68. "2" => "每周",
  69. "3" => "每月",
  70. "4" => "终生",
  71. "5" => "自选时间段",
  72. ],
  73. "effective_count" => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 30, 50, 100, 1000],
  74. "triggerInterval_rounds" => [5, 10, 15, 20, 30, 40, 50, 60, 80, 100, 150, 200, 300],
  75. 'record_status' => [
  76. "1" => '生效中',
  77. "0" => '已结束'
  78. ]
  79. ];
  80. // 佣金费率
  81. $GLOBALS['CommissionRate'] = 0.08;
  82. // 静态Domain
  83. $GLOBALS['gameGameStaticDomain'] = Env::get('GAME_STATIC_DOMAIN', 'game.w115.net');
  84. // 游戏布局Domain
  85. $GLOBALS['gameGameLayoutDomain'] = Env::get('GAME_LAYOUT_DOMAIN', 'https://history.w115.net');