正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -173,7 +173,7 @@ class Update extends Api | @@ -173,7 +173,7 @@ class Update extends Api | ||
173 | $Status = input('status'); | 173 | $Status = input('status'); |
174 | $Total = input('total'); | 174 | $Total = input('total'); |
175 | $TickInfo = Db::name('tick')->find(); | 175 | $TickInfo = Db::name('tick')->find(); |
176 | - if (($Status == 0 && $Total < $TickInfo['door']) || ($Status == 2 && $Total > $TickInfo['door'])) { | 176 | + if (($Status == 0 && $Total < $TickInfo['door']) || ($Status == 2 && $Total > $TickInfo['door']-1)) { |
177 | $this->success('成功', []); | 177 | $this->success('成功', []); |
178 | } else { | 178 | } else { |
179 | $TickArray = Db::name('user_tick')->where('user_id', $UserId)->where('status', 0)->select(); | 179 | $TickArray = Db::name('user_tick')->where('user_id', $UserId)->where('status', 0)->select(); |
-
请 注册 或 登录 后发表评论