...
|
...
|
@@ -466,8 +466,10 @@ class Yuyue extends Api |
|
|
/*修改预约单*/
|
|
|
Db::name('yuyue')->where('sun_id', $v['id'])->update(['status' => 2, 'type' => 1, 'updatetime' => time()]);
|
|
|
/*发送短信*/
|
|
|
$User = \app\common\model\User::get($v['user_id']);
|
|
|
$this->SendSms($User->mobile, '【华东飞行基地】' . $Params['con']);
|
|
|
$Mobile = Db::name('user')->where('id', $v['user_id'])->value('mobile');
|
|
|
if (!empty($Mobile) || $Mobile != '') {
|
|
|
$this->SendSms($Mobile, '【华北飞行基地】' . $Params['con']);
|
|
|
}
|
|
|
}
|
|
|
/*修改预约列表*/
|
|
|
Db::name('sun')->where('id', $v['id'])->update(['user_id' => '', 'status' => 2, 'updatetime' => time()]);
|
...
|
...
|
|