OpenTable.php 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?php
  2. namespace App\Lib\Biz\Game\Table;
  3. /**
  4. * Created by PhpStorm.
  5. * User: admin
  6. * Date: 2017/12/1
  7. * Time: 13:50
  8. * 幸运28表格数据配置
  9. */
  10. class OpenTable extends BaseTable {
  11. //游戏开关
  12. function getCloseTh() {
  13. return array(
  14. array(
  15. 'field' => 'name',
  16. 'title' => trans('common.game'),
  17. 'width' => 250,
  18. 'sort' => true,
  19. 'fixed' => 'left',
  20. ),
  21. array(
  22. 'field' => 'closeinfo',
  23. 'title' => trans('common.closeinfo'),
  24. 'width' => 250,
  25. 'sort' => true,
  26. 'fixed' => 'left',
  27. ),
  28. array(
  29. 'field' => 'LAY_CHECKED',
  30. 'title' => trans('common.status'),
  31. 'width' => 250,
  32. 'templet'=>'#switchTpl',
  33. 'unresize'=>true,
  34. ),
  35. );
  36. }
  37. //游戏金额限制表头
  38. function getMoneyTh(){
  39. return array(
  40. array(
  41. 'field'=>'id',
  42. 'title'=>'ID',
  43. 'width'=>100,
  44. 'fixed'=>'left',
  45. ),
  46. array(
  47. 'field' => 'name',
  48. 'title' => trans('common.game'),
  49. 'width' => 250,
  50. 'sort' => true,
  51. 'fixed' => 'left',
  52. ),
  53. array(
  54. 'field' => 'big_money',//最大投注金额
  55. 'title' => trans('common.bet_max_money'),
  56. 'width' => 250,
  57. 'sort' => true,
  58. ),
  59. array(
  60. 'field' => 'small_money',//最小
  61. 'title' => trans('common.bet_min_money'),
  62. 'width' => 250,
  63. 'templet'=>'#switchTpl',
  64. 'unresize'=>true,
  65. ),
  66. array(
  67. 'field' => 'commission_money',//反水最小金额
  68. 'title' => trans('common.commission_money'),
  69. 'width' => 250,
  70. 'templet'=>'#switchTpl',
  71. 'unresize'=>true,
  72. ),
  73. array(
  74. 'field' => 'commission_rate',//反水比例
  75. 'title' => trans('common.commission_rate'),
  76. 'width' => 250,
  77. 'templet'=>'#switchTpl',
  78. 'unresize'=>true,
  79. ),
  80. );
  81. }
  82. }