Gogs 2 rokov pred
rodič
commit
ae17466bc0

+ 13 - 0
Dockerfile

@@ -0,0 +1,13 @@
+FROM registry-vpc.cn-beijing.aliyuncs.com/xinyue/alpine-cst:1
+RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
+RUN echo 'Asia/Shanghai' > /etc/timezone
+
+COPY shake /go/bin/
+COPY shake.yaml /go/bin/
+COPY yaml /go/bin/yaml/
+RUN chmod +x /go/bin/shake
+WORKDIR /go/bin/
+
+CMD ["/go/bin/shake", "shake", "--config=/go/bin/shake.yaml"]
+
+EXPOSE 9001

+ 8 - 0
push.sh

@@ -0,0 +1,8 @@
+#!/bin/bash
+
+release=$1
+
+[ ! -n "$release" ] && exit 1
+
+docker build -t registry-vpc.cn-beijing.aliyuncs.com/xinyue/shake:${release} .
+docker push registry-vpc.cn-beijing.aliyuncs.com/xinyue/shake:${release}

BIN
shake


+ 82 - 0
shake.yaml

@@ -0,0 +1,82 @@
+port: 9033
+runmode: debug  #gin http调试模式 debug release 
+brand:
+  id: 3
+  tag: xinyuesite
+  domain: xinyuesite.com
+  name: 心悦
+log:
+  dir : ./log                       # 文件保存路径
+  file : shake                     # 文件名称,实际会保存为{filename}+{datetime}
+  level : 3                         # 日志等级:0-error,1-warning,2-info,3-debug
+  savefile : false                  # 是否保存为文件,置为false会输出到标准输出
+mysql:                              # web自己新的数据库信息
+  addr: rm-2zefd772420bxy12d.mysql.rds.aliyuncs.com:3306 
+  username: userapi
+  password: userapi@xinyue0923
+  db: log
+  charset: utf8mb4
+  maxopen: 10
+  maxidle: 5
+mysqlext:                         # 运营ext数据库信息
+  addr: rm-2zefd772420bxy12d.mysql.rds.aliyuncs.com:3306  
+  username: userapi     
+  password: userapi@xinyue0923
+  db: ext  
+  charset: utf8mb4
+  maxopen: 10        # 最大连接数
+  maxidle: 5         # 最大空闲数
+redis:                # web本身 redis               
+  addr: r-2zed56d6b1cddcb4.redis.rds.aliyuncs.com:6379
+  password: weiLeJXreDis2017
+  db: 19
+  poolsize: 5
+redis8:                  # 运营系统存储配置redis
+  addr: r-2zed56d6b1cddcb4.redis.rds.aliyuncs.com:6379
+  password: weiLeJXreDis2017
+  db: 8
+  poolsize: 5
+gameredis0:               # 游戏redis,目前获取相关排名作用
+  addr: r-2zed56d6b1cddcb4.redis.rds.aliyuncs.com:6379
+  password: weiLeJXreDis2017
+  db: 0
+  poolsize: 5
+mongodb:             # 用户mongoDB
+  addrs: ["dds-2ze3917a32d44b441.mongodb.rds.aliyuncs.com:3717","dds-2ze3917a32d44b442.mongodb.rds.aliyuncs.com:3717"]
+  user: "userapi"
+  password: "gQ$VDWU_nE#s"
+  database: "userext"
+  poollimit: 10
+kafka:
+  brokers: ['10.30.253.150:9092','10.30.253.149:9092','10.30.253.148:9092']
+  groupid: 'sign'
+  topic: 'sign'
+  minbytes: 1
+  maxbytes: 10000000
+propServer:
+  addr: 10.68.0.124
+  port: 7777
+  timeout: 60
+alilog:
+  endpoint: cn-beijing-intranet.log.aliyuncs.com
+  accessKeyId: LTAI4FpV3iJgr8P3k4La8Hy3
+  accessKeySecret: sZl51xZlMTzanMGQmky9K06QrksrRK
+  project: xylogs
+  projectOld: xylogs2018
+alioss:
+  endpoint: oss-cn-beijing.aliyuncs.com
+  accesskeyid: LTAI4Fkkdg43AbEEhjaESiBy
+  accesskeysecret: GK8AtezIg0dDzDfzp3lWO0Iu5NmFhw
+  bucket: cloudimg-xy
+  buckettow: cloudimg-xy
+  bucketurl: cloudimg-xy.xinyuesite.com
+  domain: xinyuesite.com
+  domainurl: cloudimg-xy.xinyuesite.com
+  httphead: https
+  document:
+gsdk:
+  ip: 10.30.253.175
+  port: 10015
+  appid: userapi
+  max_pool_size: 512
+  authkey: ce991fe2e92d1d6d73fc62c6ba420e79

+ 339 - 0
yaml/battle_task.yaml

@@ -0,0 +1,339 @@
+gametype_count:
+  1: 3,4,5,3,4,5,5,5
+gametype:
+  1:
+    - 1
+    - 2
+    - 3
+gift_list:
+  1:
+    room_1:
+      - id: 1
+        weight: 30
+        roomtype: 1
+        giftpkg:
+          -
+            - 272
+            - 5
+          -
+            - 273
+            - 5
+      - id: 2
+        weight: 24
+        roomtype: 1
+        giftpkg:
+          -
+            - 274
+            - 10
+          -
+            - 275
+            - 5
+      - id: 3
+        weight: 10
+        roomtype: 1
+        giftpkg:
+          -
+            - 280
+            - 10
+          -
+            - 281
+            - 10
+      - id: 4
+        weight: 20
+        roomtype: 1
+        giftpkg:
+          -
+            - 15
+            - 1000
+      - id: 5
+        weight: 7
+        roomtype: 1
+        giftpkg:
+          -
+            - 15
+            - 2000
+      - id: 6
+        weight: 5
+        roomtype: 1
+        giftpkg:
+          -
+            - 15
+            - 3000
+      - id: 7
+        weight: 3
+        roomtype: 1
+        giftpkg:
+          -
+            - 15
+            - 5000
+      - id: 8
+        weight: 1
+        roomtype: 1
+        giftpkg:
+          -
+            - 15
+            - 20000
+    room_2:
+      - id: 9
+        weight: 30
+        roomtype: 2
+        giftpkg:
+          -
+            - 272
+            - 15
+          -
+            - 273
+            - 15
+      - id: 10
+        weight: 24
+        roomtype: 2
+        giftpkg:
+          -
+            - 274
+            - 25
+          -
+            - 275
+            - 20
+      - id: 11
+        weight: 10
+        roomtype: 2
+        giftpkg:
+          -
+            - 280
+            - 30
+          -
+            - 281
+            - 30
+      - id: 12
+        weight: 20
+        roomtype: 2
+        giftpkg:
+          -
+            - 15
+            - 3000
+      - id: 13
+        weight: 7
+        roomtype: 2
+        giftpkg:
+          -
+            - 15
+            - 5000
+      - id: 14
+        weight: 5
+        roomtype: 2
+        giftpkg:
+          -
+            - 15
+            - 10000
+      - id: 15
+        weight: 3
+        roomtype: 2
+        giftpkg:
+          -
+            - 15
+            - 20000
+      - id: 16
+        weight: 1
+        roomtype: 2
+        giftpkg:
+          -
+            - 15
+            - 60000
+    room_3:
+      - id: 17
+        weight: 30
+        roomtype: 3
+        giftpkg:
+          -
+            - 272
+            - 25
+          -
+            - 273
+            - 25
+      - id: 18
+        weight: 24
+        roomtype: 3
+        giftpkg:
+          -
+            - 274
+            - 40
+          -
+            - 275
+            - 30
+      - id: 19
+        weight: 10
+        roomtype: 3
+        giftpkg:
+          -
+            - 280
+            - 50
+          -
+            - 281
+            - 50
+      - id: 20
+        weight: 20
+        roomtype: 3
+        giftpkg:
+          -
+            - 15
+            - 10000
+      - id: 21
+        weight: 7
+        roomtype: 3
+        giftpkg:
+          -
+            - 15
+            - 20000
+      - id: 22
+        weight: 5
+        roomtype: 3
+        giftpkg:
+          -
+            - 15
+            - 30000
+      - id: 23
+        weight: 3
+        roomtype: 3
+        giftpkg:
+          -
+            - 15
+            - 50000
+      - id: 24
+        weight: 1
+        roomtype: 3
+        giftpkg:
+          -
+            - 15
+            - 200000
+    room_4:
+      - id: 25
+        weight: 30
+        roomtype: 4
+        giftpkg:
+          -
+            - 272
+            - 50
+          -
+            - 273
+            - 50
+      - id: 26
+        weight: 24
+        roomtype: 4
+        giftpkg:
+          -
+            - 274
+            - 100
+          -
+            - 275
+            - 100
+      - id: 27
+        weight: 10
+        roomtype: 4
+        giftpkg:
+          -
+            - 280
+            - 150
+          -
+            - 281
+            - 150
+      - id: 28
+        weight: 20
+        roomtype: 4
+        giftpkg:
+          -
+            - 15
+            - 30000
+      - id: 29
+        weight: 7
+        roomtype: 4
+        giftpkg:
+          -
+            - 15
+            - 60000
+      - id: 30
+        weight: 5
+        roomtype: 4
+        giftpkg:
+          -
+            - 15
+            - 100000
+      - id: 31
+        weight: 3
+        roomtype: 4
+        giftpkg:
+          -
+            - 15
+            - 150000
+      - id: 32
+        weight: 1
+        roomtype: 4
+        giftpkg:
+          -
+            - 15
+            - 600000
+    room_5:
+      - id: 33
+        weight: 30
+        roomtype: 5
+        giftpkg:
+          -
+            - 272
+            - 150
+          -
+            - 273
+            - 150
+      - id: 34
+        weight: 24
+        roomtype: 5
+        giftpkg:
+          -
+            - 274
+            - 250
+          -
+            - 275
+            - 250
+      - id: 35
+        weight: 10
+        roomtype: 5
+        giftpkg:
+          -
+            - 280
+            - 400
+          -
+            - 281
+            - 400
+      - id: 36
+        weight: 20
+        roomtype: 5
+        giftpkg:
+          -
+            - 15
+            - 100000
+      - id: 37
+        weight: 7
+        roomtype: 5
+        giftpkg:
+          -
+            - 15
+            - 200000
+      - id: 38
+        weight: 5
+        roomtype: 5
+        giftpkg:
+          -
+            - 15
+            - 300000
+      - id: 39
+        weight: 3
+        roomtype: 5
+        giftpkg:
+          -
+            - 15
+            - 500000
+      - id: 40
+        weight: 1
+        roomtype: 5
+        giftpkg:
+          -
+            - 15
+            - 2000000

+ 382 - 0
yaml/battle_task2.yaml

@@ -0,0 +1,382 @@
+gametypecount: #旧版本废弃中
+  1-0: 0,3,3,3,4,4,4,5,5
+  1-1: 0,3,3,3,4,4,4,5,5
+  1-2: 1,3,3,3,4,4,4,5,5
+  1-3: 1,3,3,3,4,4,4,5,5
+  1-4: 1,3,3,3,4,4,4,5,5
+  1-5: 1,3,3,3,4,4,4,5,5
+  2-0: 0,3,3,3,3,4,4,4,4
+  2-1: 0,3,3,3,3,4,4,4,4
+  2-2: 1,3,3,3,3,4,4,4,4
+  2-3: 1,3,3,3,3,4,4,4,4
+  2-4: 1,3,3,3,3,4,4,4,4
+  2-5: 1,3,3,3,3,4,4,4,4
+  3-0: 0,2,2,2,3,3,3,4,4
+  3-1: 0,2,2,2,3,3,3,4,4
+  3-2: 1,2,2,2,3,3,3,4,4
+  3-3: 1,2,2,2,3,3,3,4,4
+  3-4: 1,2,2,2,3,3,3,4,4
+  3-5: 1,2,2,2,3,3,3,4,4
+  4-0: 0,2,2,2,2,2,2,2,2
+  4-1: 0,2,2,2,2,2,2,2,2
+  4-2: 1,2,2,2,2,2,2,2,2
+  4-3: 1,2,2,2,2,2,2,2,2
+  4-4: 1,2,2,2,2,2,2,2,2
+  4-5: 1,2,2,2,2,2,2,2,2
+
+gamerangecount: #旧版本废弃中
+  1: 8,8,8,8,8,8
+  2: 8,8,8,8,8,8
+  3: 8,8,8,8,8,8
+  4: 2,2,2,2,2,2
+
+giftlist:
+  1: #旧版本废弃中
+    room_0:
+        - {id: 1, weight: 10, probshow: 20, giftpkg: [[272, 2]]}
+        - {id: 2, weight: 20, probshow: 20, giftpkg: [[274, 5]]}
+        - {id: 3, weight: 20, probshow: 20, giftpkg: [[280, 10]]}
+        - {id: 4, weight: 20, probshow: 20, giftpkg: [[411, 2]]}
+        - {id: 5, weight: 15, probshow: 20, giftpkg: [[15, 2000]]}
+        - {id: 6, weight: 5, probshow: 20, giftpkg: [[15, 5000]]}
+        - {id: 7, weight: 5, probshow: 20, giftpkg: [[15, 10000]]}
+        - {id: 8, weight: 5, probshow: 20, giftpkg: [[350, 1]]}
+    room_1:
+        - {id: 9, weight: 10, probshow: 20, giftpkg: [[272, 5]]}
+        - {id: 10, weight: 20, probshow: 20, giftpkg: [[274, 10]]}
+        - {id: 11, weight: 20, probshow: 20, giftpkg: [[280, 20]]}
+        - {id: 12, weight: 20, probshow: 20, giftpkg: [[411, 5]]}
+        - {id: 13, weight: 15, probshow: 20, giftpkg: [[15, 10000]]}
+        - {id: 14, weight: 5, probshow: 20, giftpkg: [[15, 30000]]}
+        - {id: 15, weight: 5, probshow: 20, giftpkg: [[351, 1]]}
+        - {id: 16, weight: 5, probshow: 20, giftpkg: [[350, 3]]}
+    room_2:
+        - {id: 17, weight: 10, probshow: 20, giftpkg: [[272, 10]]}
+        - {id: 18, weight: 20, probshow: 20, giftpkg: [[274, 15]]}
+        - {id: 19, weight: 20, probshow: 20, giftpkg: [[280, 30]]}
+        - {id: 20, weight: 20, probshow: 20, giftpkg: [[411, 10]]}
+        - {id: 21, weight: 15, probshow: 20, giftpkg: [[15, 30000]]}
+        - {id: 22, weight: 5, probshow: 20, giftpkg: [[351, 1]]}
+        - {id: 23, weight: 5, probshow: 20, giftpkg: [[351, 3]]}
+        - {id: 24, weight: 5, probshow: 20, giftpkg: [[350, 12]]}
+    room_3:
+        - {id: 25, weight: 10, probshow: 20, giftpkg: [[272, 15]]}
+        - {id: 26, weight: 20, probshow: 20, giftpkg: [[274, 20]]}
+        - {id: 27, weight: 20, probshow: 20, giftpkg: [[280, 40]]}
+        - {id: 28, weight: 20, probshow: 20, giftpkg: [[411, 15]]}
+        - {id: 29, weight: 15, probshow: 20, giftpkg: [[350, 1]]}
+        - {id: 30, weight: 5, probshow: 20, giftpkg: [[351, 3]]}
+        - {id: 31, weight: 5, probshow: 20, giftpkg: [[351, 12]]}
+        - {id: 32, weight: 5, probshow: 20, giftpkg: [[350, 36]]}
+    room_4:
+        - {id: 33, weight: 10, probshow: 20, giftpkg: [[272, 20]]}
+        - {id: 34, weight: 20, probshow: 20, giftpkg: [[274, 25]]}
+        - {id: 35, weight: 20, probshow: 20, giftpkg: [[280, 50]]}
+        - {id: 36, weight: 20, probshow: 20, giftpkg: [[411, 20]]}
+        - {id: 37, weight: 15, probshow: 20, giftpkg: [[350, 3]]}
+        - {id: 38, weight: 5, probshow: 20, giftpkg: [[351, 12]]}
+        - {id: 39, weight: 5, probshow: 20, giftpkg: [[351, 36]]}
+        - {id: 40, weight: 5, probshow: 20, giftpkg: [[350, 100]]}
+    room_5:
+        - {id: 41, weight: 10, probshow: 20, giftpkg: [[272, 25]]}
+        - {id: 42, weight: 20, probshow: 20, giftpkg: [[274, 30]]}
+        - {id: 43, weight: 20, probshow: 20, giftpkg: [[280, 60]]}
+        - {id: 44, weight: 20, probshow: 20, giftpkg: [[411, 30]]}
+        - {id: 45, weight: 15, probshow: 20, giftpkg: [[350, 12]]}
+        - {id: 46, weight: 5, probshow: 20, giftpkg: [[351, 36]]}
+        - {id: 47, weight: 5, probshow: 20, giftpkg: [[351, 100]]}
+        - {id: 48, weight: 5, probshow: 20, giftpkg: [[350, 300]]}
+  2: #通用奖励
+    room_0:
+        - {id: 1, weight: 20,probshow: 20, giftpkg: [[15, 500]]}
+        - {id: 2, weight: 20,probshow: 20, giftpkg: [[15, 1000]]}
+        - {id: 3, weight: 20,probshow: 20, giftpkg: [[15, 2000]]}
+        - {id: 4, weight: 20,probshow: 20, giftpkg: [[274, 2]]}
+        - {id: 5, weight: 20,probshow: 20, giftpkg: [[354, 1]]}
+    room_1:  #普通
+        - {id: 9,  weight: 35,probshow: 30, giftpkg: [[15, 1000]]}
+        - {id: 10, weight: 10,probshow: 10, giftpkg: [[15, 2500]]}
+        - {id: 11, weight: 30,probshow: 30, giftpkg: [[274, 5]]}
+        - {id: 12, weight: 5,probshow: 10, giftpkg: [[350, 1]]}
+        - {id: 13, weight: 20,probshow: 20, giftpkg: [[354, 1]]}
+    room_2:  #精英
+        - {id: 17, weight: 30, probshow: 30, giftpkg: [[15, 2000]]}
+        - {id: 18, weight: 10, probshow: 10, giftpkg: [[15, 10000]]}
+        - {id: 19, weight: 30, probshow: 25, giftpkg: [[274, 10]]}
+        - {id: 20, weight: 5, probshow: 10, giftpkg: [[350, 1]]}
+        - {id: 21, weight: 5, probshow: 10, giftpkg: [[351, 1]]}
+        - {id: 22, weight: 20, probshow: 15, giftpkg: [[355, 1]]}
+    room_3:   #土豪
+        - {id: 25, weight: 30, probshow: 30, giftpkg: [[15, 10000]]}
+        - {id: 26, weight: 10, probshow: 10, giftpkg: [[15, 50000]]}
+        - {id: 27, weight: 30, probshow: 25, giftpkg: [[274, 15]]}
+        - {id: 28, weight: 5, probshow: 10, giftpkg: [[350, 5]]}
+        - {id: 29, weight: 5, probshow: 10, giftpkg: [[351, 2]]}
+        - {id: 30, weight: 20, probshow: 15, giftpkg: [[355, 1]]}
+    room_4:   #至尊
+        - {id: 33, weight: 30, probshow: 30, giftpkg: [[15, 50000]]}
+        - {id: 34, weight: 10, probshow: 10, giftpkg: [[15, 250000]]}
+        - {id: 35, weight: 30, probshow: 25, giftpkg: [[274, 20]]}
+        - {id: 36, weight: 5, probshow: 10, giftpkg: [[350, 25]]}
+        - {id: 37, weight: 5, probshow: 10, giftpkg: [[351, 12]]}
+        - {id: 38, weight: 20, probshow: 15, giftpkg: [[356, 1]]}
+    room_5:   #大师
+        - {id: 41, weight: 30, probshow: 30, giftpkg: [[15, 200000]]}
+        - {id: 42, weight: 10, probshow: 10, giftpkg: [[15, 1000000]]}
+        - {id: 43, weight: 30, probshow: 25, giftpkg: [[274, 25]]}
+        - {id: 44, weight: 5, probshow: 10, giftpkg: [[350, 100]]}
+        - {id: 45, weight: 5, probshow: 10, giftpkg: [[351, 50]]}
+        - {id: 46, weight: 20, probshow: 15, giftpkg: [[356, 1]]}
+    room_6:   #王牌
+        - {id: 50, weight: 30, probshow: 30, giftpkg: [[15, 1000000]]}
+        - {id: 51, weight: 10, probshow: 10, giftpkg: [[15, 5000000]]}
+        - {id: 52, weight: 30, probshow: 25, giftpkg: [[274, 30]]}
+        - {id: 53, weight: 5, probshow: 10, giftpkg: [[350, 300]]}
+        - {id: 54, weight: 5, probshow: 10, giftpkg: [[351, 150]]}
+        - {id: 55, weight: 20, probshow: 15, giftpkg: [[356, 1]]}
+  3: #血流6红中
+    room_0:
+        - {id: 1, weight: 20, probshow: 20, giftpkg: [[15, 500]]}
+        - {id: 2, weight: 20, probshow: 20, giftpkg: [[15, 1000]]}
+        - {id: 3, weight: 20, probshow: 20, giftpkg: [[15, 2000]]}
+        - {id: 4, weight: 20, probshow: 20, giftpkg: [[274, 2]]}
+        - {id: 5, weight: 20, probshow: 20, giftpkg: [[354, 1]]}
+    room_1:  #普通
+        - {id: 9,  weight: 35, probshow: 30, giftpkg: [[15, 1000]]}
+        - {id: 10, weight: 10, probshow: 10, giftpkg: [[15, 2500]]}
+        - {id: 11, weight: 30, probshow: 30, giftpkg: [[274, 5]]}
+        - {id: 12, weight: 5, probshow: 10, giftpkg: [[350, 1]]}
+        - {id: 13, weight: 20, probshow: 20, giftpkg: [[354, 1]]}
+    room_2:  #精英
+        - {id: 17, weight: 30, probshow: 30, giftpkg: [[15, 2000]]}
+        - {id: 18, weight: 10, probshow: 10, giftpkg: [[15, 10000]]}
+        - {id: 19, weight: 30, probshow: 25, giftpkg: [[274, 10]]}
+        - {id: 20, weight: 5, probshow: 10, giftpkg: [[350, 1]]}
+        - {id: 21, weight: 5, probshow: 10, giftpkg: [[351, 1]]}
+        - {id: 22, weight: 20, probshow: 15, giftpkg: [[355, 1]]}
+    room_3:   #土豪
+        - {id: 25, weight: 30, probshow: 30, giftpkg: [[15, 10000]]}
+        - {id: 26, weight: 10, probshow: 10, giftpkg: [[15, 50000]]}
+        - {id: 27, weight: 30, probshow: 25, giftpkg: [[274, 15]]}
+        - {id: 28, weight: 5, probshow: 10, giftpkg: [[350, 5]]}
+        - {id: 29, weight: 5, probshow: 10, giftpkg: [[351, 2]]}
+        - {id: 30, weight: 20, probshow: 15, giftpkg: [[355, 1]]}
+    room_4:   #至尊
+        - {id: 33, weight: 30, probshow: 30, giftpkg: [[15, 50000]]}
+        - {id: 34, weight: 10, probshow: 10, giftpkg: [[15, 250000]]}
+        - {id: 35, weight: 30, probshow: 25, giftpkg: [[274, 20]]}
+        - {id: 36, weight: 5, probshow: 10, giftpkg: [[350, 25]]}
+        - {id: 37, weight: 5, probshow: 10, giftpkg: [[351, 12]]}
+        - {id: 38, weight: 20, probshow: 15, giftpkg: [[356, 1]]}
+    room_5:   #大师
+        - {id: 41, weight: 30, probshow: 30, giftpkg: [[15, 200000]]}
+        - {id: 42, weight: 10, probshow: 10, giftpkg: [[15, 1000000]]}
+        - {id: 43, weight: 30, probshow: 25, giftpkg: [[274, 25]]}
+        - {id: 44, weight: 5, probshow: 10, giftpkg: [[350, 100]]}
+        - {id: 45, weight: 5, probshow: 10, giftpkg: [[351, 50]]}
+        - {id: 46, weight: 20, probshow: 15, giftpkg: [[356, 1]]}
+    room_6:   #王牌
+        - {id: 50, weight: 30, probshow: 30, giftpkg: [[15, 1000000]]}
+        - {id: 51, weight: 10, probshow: 10, giftpkg: [[15, 5000000]]}
+        - {id: 52, weight: 30, probshow: 25, giftpkg: [[274, 30]]}
+        - {id: 53, weight: 5, probshow: 10, giftpkg: [[350, 300]]}
+        - {id: 54, weight: 5, probshow: 10, giftpkg: [[351, 150]]}
+        - {id: 55, weight: 20, probshow: 15, giftpkg: [[356, 1]]}     
+  4: #斗地主免洗
+    room_0:
+        - {id: 1, weight: 50, probshow: 20, giftpkg: [[15, 500]]}
+        - {id: 2, weight: 10, probshow: 20, giftpkg: [[15, 1000]]}
+        - {id: 3, weight: 15, probshow: 20, giftpkg: [[15, 2000]]}
+        - {id: 4, weight: 5, probshow: 20, giftpkg: [[274, 2]]}
+        - {id: 5, weight: 20, probshow: 20, giftpkg: [[354, 1]]}
+    room_1:  #普通
+        - {id: 9,  weight: 35, probshow: 30, giftpkg: [[15, 1000]]}
+        - {id: 10, weight: 10, probshow: 10, giftpkg: [[15, 2500]]}
+        - {id: 11, weight: 30, probshow: 30, giftpkg: [[274, 5]]}
+        - {id: 12, weight: 5, probshow: 10, giftpkg: [[350, 1]]}
+        - {id: 13, weight: 20, probshow: 20, giftpkg: [[354, 1]]}
+    room_2:  #精英
+        - {id: 17, weight: 30, probshow: 30, giftpkg: [[15, 2000]]}
+        - {id: 18, weight: 10, probshow: 10, giftpkg: [[15, 10000]]}
+        - {id: 19, weight: 30, probshow: 25, giftpkg: [[274, 10]]}
+        - {id: 20, weight: 5, probshow: 10, giftpkg: [[350, 1]]}
+        - {id: 21, weight: 5, probshow: 10, giftpkg: [[351, 1]]}
+        - {id: 22, weight: 20, probshow: 15, giftpkg: [[355, 1]]}
+    room_3:   #土豪
+        - {id: 25, weight: 30, probshow: 30, giftpkg: [[15, 10000]]}
+        - {id: 26, weight: 10, probshow: 10, giftpkg: [[15, 50000]]}
+        - {id: 27, weight: 30, probshow: 25, giftpkg: [[274, 15]]}
+        - {id: 28, weight: 5, probshow: 10, giftpkg: [[350, 5]]}
+        - {id: 29, weight: 5, probshow: 10, giftpkg: [[351, 2]]}
+        - {id: 30, weight: 20, probshow: 15, giftpkg: [[355, 1]]}
+    room_4:   #至尊
+        - {id: 33, weight: 30, probshow: 30, giftpkg: [[15, 50000]]}
+        - {id: 34, weight: 10, probshow: 10, giftpkg: [[15, 250000]]}
+        - {id: 35, weight: 30, probshow: 25, giftpkg: [[274, 20]]}
+        - {id: 36, weight: 5, probshow: 10, giftpkg: [[350, 25]]}
+        - {id: 37, weight: 5, probshow: 10, giftpkg: [[351, 12]]}
+        - {id: 38, weight: 20, probshow: 15, giftpkg: [[356, 1]]}
+    room_5:   #大师
+        - {id: 41, weight: 30, probshow: 30, giftpkg: [[15, 200000]]}
+        - {id: 42, weight: 10, probshow: 10, giftpkg: [[15, 1000000]]}
+        - {id: 43, weight: 30, probshow: 25, giftpkg: [[274, 25]]}
+        - {id: 44, weight: 5, probshow: 10, giftpkg: [[350, 100]]}
+        - {id: 45, weight: 5, probshow: 10, giftpkg: [[351, 50]]}
+        - {id: 46, weight: 20, probshow: 15, giftpkg: [[356, 1]]}
+    room_6:   #王牌
+        - {id: 50, weight: 30, probshow: 30, giftpkg: [[15, 1000000]]}
+        - {id: 51, weight: 10, probshow: 10, giftpkg: [[15, 5000000]]}
+        - {id: 52, weight: 30, probshow: 25, giftpkg: [[274, 30]]}
+        - {id: 53, weight: 5, probshow: 10, giftpkg: [[350, 300]]}
+        - {id: 54, weight: 5, probshow: 10, giftpkg: [[351, 150]]}
+        - {id: 55, weight: 20, probshow: 15, giftpkg: [[356, 1]]}
+  5: #血流8红中
+    room_0:
+        - {id: 1, weight: 20, probshow: 30, giftpkg: [[15, 500]]}
+        - {id: 2, weight: 20, probshow: 10, giftpkg: [[15, 1000]]}
+        - {id: 3, weight: 20, probshow: 30, giftpkg: [[15, 2000]]}
+        - {id: 4, weight: 20, probshow: 10, giftpkg: [[274, 2]]}
+        - {id: 5, weight: 20, probshow: 20, giftpkg: [[354, 1]]}
+    room_1:  #普通
+        - {id: 9,  weight: 35, probshow: 30, giftpkg: [[15, 1000]]}
+        - {id: 10, weight: 10, probshow: 10, giftpkg: [[15, 2500]]}
+        - {id: 11, weight: 30, probshow: 30, giftpkg: [[274, 5]]}
+        - {id: 12, weight: 5, probshow: 10, giftpkg: [[350, 1]]}
+        - {id: 13, weight: 20, probshow: 20, giftpkg: [[354, 1]]}
+    room_2:  #精英
+        - {id: 17, weight: 30, probshow: 30, giftpkg: [[15, 2000]]}
+        - {id: 18, weight: 10, probshow: 10, giftpkg: [[15, 10000]]}
+        - {id: 19, weight: 30, probshow: 25, giftpkg: [[274, 10]]}
+        - {id: 20, weight: 5, probshow: 10, giftpkg: [[350, 1]]}
+        - {id: 21, weight: 5, probshow: 10, giftpkg: [[351, 1]]}
+        - {id: 22, weight: 20, probshow: 15, giftpkg: [[355, 1]]}
+    room_3:   #土豪
+        - {id: 25, weight: 30, probshow: 30, giftpkg: [[15, 10000]]}
+        - {id: 26, weight: 10, probshow: 10, giftpkg: [[15, 50000]]}
+        - {id: 27, weight: 30, probshow: 25, giftpkg: [[274, 15]]}
+        - {id: 28, weight: 5, probshow: 10, giftpkg: [[350, 5]]}
+        - {id: 29, weight: 5, probshow: 10, giftpkg: [[351, 2]]}
+        - {id: 30, weight: 20, probshow: 15, giftpkg: [[355, 1]]}
+    room_4:   #至尊
+        - {id: 33, weight: 30, probshow: 30, giftpkg: [[15, 50000]]}
+        - {id: 34, weight: 10, probshow: 10, giftpkg: [[15, 250000]]}
+        - {id: 35, weight: 30, probshow: 25, giftpkg: [[274, 20]]}
+        - {id: 36, weight: 5, probshow: 10, giftpkg: [[350, 25]]}
+        - {id: 37, weight: 5, probshow: 10, giftpkg: [[351, 12]]}
+        - {id: 38, weight: 20, probshow: 15, giftpkg: [[356, 1]]}
+    room_5:   #大师
+        - {id: 41, weight: 30, probshow: 30, giftpkg: [[15, 200000]]}
+        - {id: 42, weight: 10, probshow: 10, giftpkg: [[15, 1000000]]}
+        - {id: 43, weight: 30, probshow: 25, giftpkg: [[274, 25]]}
+        - {id: 44, weight: 5, probshow: 10, giftpkg: [[350, 100]]}
+        - {id: 45, weight: 5, probshow: 10, giftpkg: [[351, 50]]}
+        - {id: 46, weight: 20, probshow: 15, giftpkg: [[356, 1]]}
+    room_6:   #王牌
+        - {id: 50, weight: 30, probshow: 30, giftpkg: [[15, 1000000]]}
+        - {id: 51, weight: 10, probshow: 10, giftpkg: [[15, 5000000]]}
+        - {id: 52, weight: 30, probshow: 25, giftpkg: [[274, 30]]}
+        - {id: 53, weight: 5, probshow: 10, giftpkg: [[350, 300]]}
+        - {id: 54, weight: 5, probshow: 10, giftpkg: [[351, 150]]}
+        - {id: 55, weight: 20, probshow: 15, giftpkg: [[356, 1]]}
+  6: #血流4红中
+    room_0:
+        - {id: 1, weight: 20, probshow: 20, giftpkg: [[15, 500]]}
+        - {id: 2, weight: 20, probshow: 20, giftpkg: [[15, 1000]]}
+        - {id: 3, weight: 20, probshow: 20, giftpkg: [[15, 2000]]}
+        - {id: 4, weight: 20, probshow: 20, giftpkg: [[274, 2]]}
+        - {id: 5, weight: 20, probshow: 20, giftpkg: [[354, 1]]}
+    room_1:  #普通
+        - {id: 9,  weight: 35, probshow: 30, giftpkg: [[15, 1000]]}
+        - {id: 10, weight: 10, probshow: 10, giftpkg: [[15, 2500]]}
+        - {id: 11, weight: 30, probshow: 30, giftpkg: [[274, 5]]}
+        - {id: 12, weight: 5, probshow: 10, giftpkg: [[350, 1]]}
+        - {id: 13, weight: 20, probshow: 20, giftpkg: [[354, 1]]}
+    room_2:  #精英
+        - {id: 17, weight: 30, probshow: 30, giftpkg: [[15, 2000]]}
+        - {id: 18, weight: 10, probshow: 10, giftpkg: [[15, 10000]]}
+        - {id: 19, weight: 30, probshow: 25, giftpkg: [[274, 10]]}
+        - {id: 20, weight: 5, probshow: 10, giftpkg: [[350, 1]]}
+        - {id: 21, weight: 5, probshow: 10, giftpkg: [[351, 1]]}
+        - {id: 22, weight: 20, probshow: 10, giftpkg: [[355, 1]]}
+    room_3:   #土豪
+        - {id: 25, weight: 30, probshow: 30, giftpkg: [[15, 10000]]}
+        - {id: 26, weight: 10, probshow: 10, giftpkg: [[15, 50000]]}
+        - {id: 27, weight: 30, probshow: 25, giftpkg: [[274, 15]]}
+        - {id: 28, weight: 5, probshow: 10, giftpkg: [[350, 5]]}
+        - {id: 29, weight: 5, probshow: 10, giftpkg: [[351, 2]]}
+        - {id: 30, weight: 20, probshow: 15, giftpkg: [[355, 1]]}
+    room_4:   #至尊
+        - {id: 33, weight: 30, probshow: 30, giftpkg: [[15, 50000]]}
+        - {id: 34, weight: 10, probshow: 10, giftpkg: [[15, 250000]]}
+        - {id: 35, weight: 30, probshow: 25, giftpkg: [[274, 20]]}
+        - {id: 36, weight: 5, probshow: 10, giftpkg: [[350, 25]]}
+        - {id: 37, weight: 5, probshow: 10, giftpkg: [[351, 12]]}
+        - {id: 38, weight: 20, probshow: 15, giftpkg: [[356, 1]]}
+    room_5:   #大师
+        - {id: 41, weight: 30, probshow: 30, giftpkg: [[15, 200000]]}
+        - {id: 42, weight: 10, probshow: 10, giftpkg: [[15, 1000000]]}
+        - {id: 43, weight: 30, probshow: 25, giftpkg: [[274, 25]]}
+        - {id: 44, weight: 5, probshow: 10, giftpkg: [[350, 100]]}
+        - {id: 45, weight: 5, probshow: 10, giftpkg: [[351, 50]]}
+        - {id: 46, weight: 20, probshow: 15, giftpkg: [[356, 1]]}
+    room_6:   #王牌
+        - {id: 50, weight: 30, probshow: 30, giftpkg: [[15, 1000000]]}
+        - {id: 51, weight: 10, probshow: 10, giftpkg: [[15, 5000000]]}
+        - {id: 52, weight: 30, probshow: 25, giftpkg: [[274, 30]]}
+        - {id: 53, weight: 5, probshow: 10, giftpkg: [[350, 300]]}
+        - {id: 54, weight: 5, probshow: 10, giftpkg: [[351, 150]]}
+        - {id: 55, weight: 20, probshow: 15, giftpkg: [[356, 1]]}
+gametypecountv2:
+  1-0: 0,4,999 #短时间游戏通用 (奖励2)
+  1-1: 1,4,999
+  1-2: 1,4,999
+  1-3: 1,4,999
+  1-4: 1,4,999
+  1-5: 1,4,999
+  2-0: 0,3,999 #长时间游戏通用 (奖励2)
+  2-1: 1,3,999
+  2-2: 1,3,999
+  2-3: 1,3,999
+  2-4: 1,3,999
+  2-5: 1,3,999
+  3-0: 0,4,999 #6红中血流  (奖励3)
+  3-1: 1,4,999
+  3-2: 1,4,999
+  3-3: 1,4,999
+  3-4: 1,4,999
+  3-5: 1,4,999
+  3-6: 1,4,999
+  4-0: 0,2,999 #测试 (奖励2)
+  4-1: 1,2,999
+  4-2: 1,2,999
+  4-3: 1,2,999
+  4-4: 1,2,999
+  4-5: 1,2,999
+  5-0: 0,6,999 #斗地主免洗  (奖励4)
+  5-1: 1,6,999
+  5-2: 1,6,999
+  5-3: 1,6,999
+  5-4: 1,6,999
+  5-5: 1,6,999
+  5-6: 1,6,999
+  6-0: 0,4,999 #8红中血流  (奖励5)
+  6-1: 1,4,999
+  6-2: 1,4,999
+  6-3: 1,4,999
+  6-4: 1,4,999
+  6-5: 1,4,999
+  6-6: 1,4,999
+  7-0: 0,4,999 #4红中血流  (奖励6)
+  7-1: 1,4,999
+  7-2: 1,4,999
+  7-3: 1,4,999
+  7-4: 1,4,999
+  7-5: 1,4,999
+  7-6: 1,4,999
+  8-0: 0,4,999 #血流成河[225],血战到底[477] (奖励2)
+  8-1: 1,4,999
+  8-2: 1,4,999
+  8-3: 1,4,999
+  8-4: 1,4,999
+  8-5: 1,4,999
+ 

+ 186 - 0
yaml/turntable.yaml

@@ -0,0 +1,186 @@
+receive_list:
+  - type: -1  #0
+    reward_list:
+      - data_id: 17
+        rate: 1
+        number: 100
+      - data_id: 274
+        rate: 150
+        number: 10
+      - data_id: 275
+        rate: 150
+        number: 10
+      - data_id: 281
+        rate: 150
+        number: 10
+      - data_id: 278
+        rate: 150
+        number: 10
+      - data_id: 273
+        rate: 150
+        number: 10
+      - data_id: 272
+        rate: 150
+        number: 10
+      - data_id: 999
+        award:
+          - data_id: 272
+            number: 2
+          - data_id: 274
+            number: 2
+          - data_id: 275
+            number: 2
+          - data_id: 278
+            number: 2
+          - data_id: 281
+            number: 2
+        rate: 99
+        number: 1
+  - type: 0  #0
+    reward_list:
+      - data_id: 17
+        rate: 1
+        number: 100
+      - data_id: 274
+        rate: 150
+        number: 10
+      - data_id: 275
+        rate: 150
+        number: 10
+      - data_id: 281
+        rate: 150
+        number: 10
+      - data_id: 278
+        rate: 150
+        number: 10
+      - data_id: 273
+        rate: 150
+        number: 10
+      - data_id: 272
+        rate: 150
+        number: 10
+      - data_id: 999
+        award:
+          - data_id: 272
+            number: 2
+          - data_id: 274
+            number: 2
+          - data_id: 275
+            number: 2
+          - data_id: 278
+            number: 2
+          - data_id: 281
+            number: 2
+        rate: 99
+        number: 1
+
+
+rate_list:
+  - between: [0,1000000]
+    rate: [2500,3000,800,180,20,1500,500,1500]
+    level: 1
+  - between: [0,1000000]
+    rate: [3000,3000,0,0,0,1500,500,2000]
+    level: 0
+  - between: [100001,3000000]
+    rate: [2000,2500,700,150,15,2135,1000,1500]
+    level: 1
+  - between: [1000001,3000000]
+    rate: [2000,2500,0,0,0,2500,1500,1500]
+    level: 0
+  - between: [3000001,5000000]
+    rate: [1500,2000,600,120,10,2770,1500,1500]
+    level: 1
+  - between: [3000001,5000000]
+    rate: [1500,2500,0,0,0,2500,1500,1500]
+    level: 0
+  - between: [5000001,10000000]
+    rate: [1000,1500,500,80,5,3415,2000,1500]
+    level: 1
+  - between: [5000001,10000000]
+    rate: [1000,1500,0,0,0,3500,2500,1500]
+    level: 0
+  - between: [10000001]
+    rate: [500,1000,400,5,1,4094,2500,1500]
+    level: 1
+  - between: [10000001]
+    rate: [500,1000,0,0,0,4000,3000,1500]
+    level: 0
+  - between: [0,1000000]
+    rate: [3000,3500,1300,180,20,1500,500,0]
+    level: 3
+  - between: [0,1000000]
+    rate: [4000,4000,0,0,0,1500,500,0]
+    level: 2
+  - between: [100001,3000000]
+    rate: [2500,3000,1200,150,15,2135,1000,0]
+    level: 3
+  - between: [1000001,3000000]
+    rate: [3000,3000,0,0,0,2500,1500,0]
+    level: 2
+  - between: [3000001,5000000]
+    rate: [2000,2500,600,120,10,2770,2000,0]
+    level: 3
+  - between: [3000001,5000000]
+    rate: [2000,2500,0,0,0,3000,2500,0]
+    level: 2
+  - between: [5000001,10000000]
+    rate: [1500,1500,500,80,5,3915,2500,0]
+    level: 3
+  - between: [5000001,10000000]
+    rate: [1000,1500,0,0,0,4500,3000,0]
+    level: 2
+  - between: [10000001]
+    rate: [500,1000,400,5,0,4095,4000,0]
+    level: 3
+  - between: [10000001]
+    rate: [500,1000,0,0,0,4500,4000,0]
+    level: 2
+#rate_list:
+#  - between: [0,1000000]
+#    rate: [10000,0,0,0,0,0,0,0]
+#    level: 1
+#  - between: [0,1000000]
+#    rate: [10000,0,0,0,0,0,0,0]
+#    level: 0
+#  - between: [1000001,3000000]
+#    rate: [0,10000,0,0,0,0,0,0]
+#    level: 1
+#  - between: [1000001,3000000]
+#    rate: [0,10000,0,0,0,0,0,0]
+#    level: 0
+#  - between: [3000001,5000000]
+#    rate: [0,0,10000,0,0,0,0,0]
+#    level: 1
+#  - between: [3000001,5000000]
+#    rate: [0,0,10000,0,0,0,0,0]
+#    level: 0
+#  - between: [5000001,10000000]
+#    rate: [0,0,0,10000,0,0,0,0]
+#    level: 1
+#  - between: [5000001,10000000]
+#    rate: [0,0,0,10000,0,0,0,0]
+#    level: 0
+#  - between: [10000001]
+#    rate: [0,0,0,0,10000,0,0,0]
+#    level: 1
+#  - between: [10000001]
+#    rate: [0,0,0,0,10000,0,0,0]
+#    level: 0
+ext_1:
+  2: [350,1] #位置 2
+  3: [351,1]
+
+data_list: [272,273,274,275,278,280,281]
+second: 120
+
+app_limit: 1
+small_limit: 3
+
+version: 0
+
+total: 10000
+
+tao_map:
+  -2: [[360,10],[361,10],[362,10]]   #套餐A
+  -3: [[274,10],[273,10],[272,10]] #套餐B

+ 88 - 0
yaml/turntable_fivebless.yaml

@@ -0,0 +1,88 @@
+receive_list:
+  - type: -1  #0
+    reward_list:
+      - data_id: -1  #再接再励
+        rate: 2000
+        number: 1
+      - data_id: 15 #5000豆豆
+        rate: 3500
+        number: 5000
+      - data_id: 350 #免输卡
+        rate: 0
+        number: 1
+      - data_id: 0 #魔法道具
+        rate: 2000
+        number: 5
+      - data_id: 15 #10W豆豆
+        rate: 0
+        number: 100000
+      - data_id: 15 #2W豆豆
+        rate: 600
+        number: 20000
+      - data_id: 15 #金蟾卡加成40%  5W豆豆
+        rate: 0
+        number: 50000
+      - data_id: 15 #五福临门   1W豆豆
+        rate: 1000
+        number: 10000
+
+  - type: 0  #0
+    reward_list:
+      - data_id: -1  #再接再励
+        rate: 2000
+        number: 1
+      - data_id: 15 #5000豆豆
+        rate: 3500
+        number: 5000
+      - data_id: 350 #免输卡
+        rate: 300
+        number: 1
+      - data_id: 0 #魔法道具
+        rate: 2000
+        number: 5
+      - data_id: 15 #10W豆豆
+        rate: 200
+        number: 100000
+      - data_id: 15 #2W豆豆
+        rate: 600
+        number: 20000 
+      - data_id: 15 #金蟾卡加成40%  5W豆豆
+        rate: 400
+        number: 50000
+      - data_id: 15 #五福临门   1W豆豆
+        rate: 1000
+        number: 10000
+
+rate_list:
+  - between: [0,30000]
+    rate: [2000,3500,300,2000,200,600,400,1000]
+    level: 1
+  - between: [0,30000]
+    rate: [2000,3500,0,2000,0,600,0,1000]
+    level: 1
+  - between: [30001]
+    rate: [2000,3500,300,2000,200,600,400,1000]
+    level: 1
+  - between: [30001]
+    rate: [2000,3500,0,2000,0,600,0,1000]
+    level: 0
+
+data_list: [272,273,274,275,278,280,281]
+second: 120
+
+app_limit: 1
+small_limit: 8
+
+version: 0
+
+total: 10000
+
+tao_map:
+  -2: [[360,10],[361,10],[362,10]]   #套餐A
+  -3: [[274,10],[273,10],[272,10]] #套餐B
+
+mahjong_reward:
+  11: # 版本号
+    5: # 要替换的奖励的下标
+      data_id: 402 # 海底捞月卡
+      number: 1

+ 81 - 0
yaml/turntable_jinchan.yaml

@@ -0,0 +1,81 @@
+receive_list:
+  - type: -1  #0
+    reward_list:
+      - data_id: 15  #
+        rate: 2000
+        number: 5000
+      - data_id: 15
+        rate: 3000
+        number: 20000
+      - data_id: 15
+        rate: 0
+        number: 100000
+      - data_id: 0
+        rate: 2000
+        number: 5
+      - data_id: 411
+        rate: 2000
+        number: 2
+      - data_id: 350
+        rate: 0
+        number: 1
+      - data_id: 351
+        rate: 1000
+        number: 1
+      - data_id: 354
+        rate: 0
+        number: 1
+  - type: 0  #0
+    reward_list:
+      - data_id: 15  #
+        rate: 2000
+        number: 5000
+      - data_id: 15
+        rate: 2000
+        number: 20000
+      - data_id: 15
+        rate: 1000
+        number: 100000
+      - data_id: 0
+        rate: 1000
+        number: 5
+      - data_id: 411
+        rate: 1000
+        number: 2
+      - data_id: 350
+        rate: 1000
+        number: 1
+      - data_id: 351
+        rate: 1000
+        number: 1
+      - data_id: 354
+        rate: 1000
+        number: 1
+
+rate_list:
+  - between: [0,50000]
+    rate: [2000,2000,1000,1000,1000,1000,1000,1000]
+    level: 1
+  - between: [0,50000]
+    rate: [2000,3000,0,2000,2000,0,1000,0]
+    level: 1
+  - between: [50001]
+    rate: [1300,1300,900,1300,1300,1300,1300,1300]
+    level: 1
+  - between: [50001]
+    rate: [1300,2200,0,2600,2600,0,1300,0]
+    level: 0
+
+data_list: [272,273,274,275,278,280,281]
+second: 120
+
+app_limit: 1
+small_limit: 3
+
+version: 0
+
+total: 10000
+
+tao_map:
+  -2: [[360,10],[361,10],[362,10]]   #套餐A
+  -3: [[274,10],[273,10],[272,10]] #套餐B

+ 4 - 0
yaml/turntable_kafka.yaml

@@ -0,0 +1,4 @@
+brokers: ['192.168.67.152:9092']
+groupid: 'sign'
+minbytes: 1
+maxbytes: 10000000

+ 8 - 0
yaml/turntable_mysql.yaml

@@ -0,0 +1,8 @@
+mysql_log:
+  addr: 192.168.67.9:3306  # 数据库信息
+  user: root     # 用户
+  password: weile2017i # 密码
+  db: log        # 数据库
+  charset: utf8mb4
+  max_open: 0          # 最大连接数
+  max_idle: -1         # 最大空闲数

+ 109 - 0
yaml/turntable_normal.yaml

@@ -0,0 +1,109 @@
+receive_list:
+  - type: -1  #0
+    reward_list:
+      - data_id: 17
+        rate: 1
+        number: 100
+      - data_id: 274
+        rate: 150
+        number: 10
+      - data_id: 275
+        rate: 150
+        number: 10
+      - data_id: 281
+        rate: 150
+        number: 10
+      - data_id: 278
+        rate: 150
+        number: 10
+      - data_id: 273
+        rate: 150
+        number: 10
+      - data_id: 272
+        rate: 150
+        number: 10
+      - data_id: 999
+        award:
+          - data_id: 272
+            number: 2
+          - data_id: 274
+            number: 2
+          - data_id: 275
+            number: 2
+          - data_id: 278
+            number: 2
+          - data_id: 281
+            number: 2
+        rate: 99
+        number: 1
+  - type: 0  #0
+    reward_list:
+      - data_id: 17
+        rate: 1
+        number: 100
+      - data_id: 274
+        rate: 150
+        number: 10
+      - data_id: 275
+        rate: 150
+        number: 10
+      - data_id: 281
+        rate: 150
+        number: 10
+      - data_id: 278
+        rate: 150
+        number: 10
+      - data_id: 273
+        rate: 150
+        number: 10
+      - data_id: 272
+        rate: 150
+        number: 10
+      - data_id: 999
+        award:
+          - data_id: 272
+            number: 2
+          - data_id: 274
+            number: 2
+          - data_id: 275
+            number: 2
+          - data_id: 278
+            number: 2
+          - data_id: 281
+            number: 2
+        rate: 99
+        number: 1
+
+rate_list:
+  - between: [0,30000]
+    rate: [2000,3500,300,2000,200,600,400,1000]
+    level: 1
+  - between: [0,30000]
+    rate: [2000,3500,0,2000,0,600,0,1000]
+    level: 1
+  - between: [30001]
+    rate: [2000,3500,300,2000,200,600,400,1000]
+    level: 1
+  - between: [30001]
+    rate: [2000,3500,0,2000,0,600,0,1000]
+    level: 0
+
+data_list: [272,273,274,275,278,280,281]
+second: 120
+
+app_limit: 1
+small_limit: 8
+
+version: 0
+
+total: 10000
+
+tao_map:
+  -2: [[360,10],[361,10],[362,10]]   #套餐A
+  -3: [[274,10],[273,10],[272,10]] #套餐B
+
+mahjong_reward:
+  11: # 版本号
+    5: # 要替换的奖励的下标
+      data_id: 402 # 海底捞月卡
+      number: 1

+ 82 - 0
yaml/turntable_v2.yaml

@@ -0,0 +1,82 @@
+receive_list:
+  - type: -1  #0
+    reward_list:
+      - data_id: 15
+        rate: 2500
+        number: 5000
+      - data_id: 15
+        rate: 1900
+        number: 20000
+      - data_id: 15
+        rate: 0
+        number: 500000
+      - data_id: 0
+        rate: 2500
+        number: 5
+      - data_id: 0
+        rate: 2500
+        number: 10
+      - data_id: 350
+        rate: 0
+        number: 1
+      - data_id: 351
+        rate: 600
+        number: 1
+      - data_id: 351
+        rate: 0
+        number: 5
+  - type: 0  #0
+    reward_list:
+      - data_id: 15
+        rate: 2500
+        number: 5000
+      - data_id: 15
+        rate: 1850
+        number: 20000
+      - data_id: 15
+        rate: 50
+        number: 500000
+      - data_id: 0
+        rate: 2500
+        number: 5
+      - data_id: 0
+        rate: 2000
+        number: 10
+      - data_id: 350
+        rate: 500
+        number: 1
+      - data_id: 351
+        rate: 500
+        number: 1
+      - data_id: 351
+        rate: 100
+        number: 5
+
+
+rate_list:
+  - between: [0,50000]
+    rate: [2500,1850,50,2500,2000,500,500,100]
+    level: 1
+  - between: [0,50000]
+    rate: [2500,1900,0,2500,2500,0,600,0]
+    level: 0
+  - between: [50001]
+    rate: [500,500,50,2500,2000,2500,18500,100]
+    level: 1
+  - between: [50001]
+    rate: [500,550,0,2500,4500,0,19500,0]
+    level: 0
+
+data_list: [272,273,274,275,278,280,281]
+second: 120
+
+app_limit: 1
+small_limit: 3
+
+version: 0
+
+total: 10000
+
+tao_map:
+  -2: [[360,10],[361,10],[362,10]]   #套餐A
+  -3: [[274,10],[273,10],[272,10]] #套餐B

+ 2 - 0
yaml/vip.yaml

@@ -0,0 +1,2 @@
+vip_list: [500,2000,5000,10000,25000,50000,100000,200000,300000]
+zp_list: [0,1,1,2,2,2,3,3,3,3]