Commit 63eb5fda3ee0fe8186d55f33c9ffcef0af8b1426
1 parent
8bdc32ab
Exists in
master
提交
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/HttpServer/logic/function.go
| ... | ... | @@ -1067,7 +1067,7 @@ func CalcTurnTableNum() (int, int) { |
| 1067 | 1067 | if idx == -1 { |
| 1068 | 1068 | if len(cflist) > 0 { |
| 1069 | 1069 | rtnum = cflist[0].Desc |
| 1070 | - rtid = 0 | |
| 1070 | + rtid = 0 + 1 | |
| 1071 | 1071 | } |
| 1072 | 1072 | } else { |
| 1073 | 1073 | if cflist[idx].Type == 101 { |
| ... | ... | @@ -1075,7 +1075,7 @@ func CalcTurnTableNum() (int, int) { |
| 1075 | 1075 | } else { |
| 1076 | 1076 | rtnum = 0 |
| 1077 | 1077 | } |
| 1078 | - rtid = idx | |
| 1078 | + rtid = idx + 1 | |
| 1079 | 1079 | } |
| 1080 | 1080 | |
| 1081 | 1081 | return rtnum, rtid | ... | ... |