...
|
...
|
@@ -597,8 +597,6 @@ class Api |
|
|
$map['createtime'] = ['BETWEEN', [$createtime - 1, $createtime + 86400 - 1]];
|
|
|
// if ($is_week == '周一') {
|
|
|
$count = Db::name('yuyue')->where(['user_id' => $user_id])->where('createtime', $createtime)->select();
|
|
|
dump($count);
|
|
|
dump(count($count));
|
|
|
// if (!empty($count)) {
|
|
|
if (count($count) > 1) {
|
|
|
$this->error('超过最大可预约次数', 0);
|
...
|
...
|
|