...
|
...
|
@@ -173,7 +173,7 @@ class Update extends Api |
|
|
$Status = input('status');
|
|
|
$Total = input('total');
|
|
|
$TickInfo = Db::name('tick')->find();
|
|
|
if (($Status == 0 && $Total < $TickInfo['door']) || ($Status == 2 && $Total > $TickInfo['door']-1)) {
|
|
|
if (($Status == 0 && $Total < $TickInfo['door']) || ($Status == 2 && $Total > $TickInfo['door']-0.01)) {
|
|
|
$this->success('成功', []);
|
|
|
} else {
|
|
|
$TickArray = Db::name('user_tick')->where('user_id', $UserId)->where('status', 0)->select();
|
...
|
...
|
|