|
@@ -134,6 +134,25 @@ class HouseKeepingController extends JBaseController
|
|
|
$h->tech_mobile = $tech_mobile;
|
|
|
}
|
|
|
$success = $h->save();
|
|
|
+ if ($h->save() && intval($h->status) == 2) {//status_time
|
|
|
+ $c = new EMongoCriteria();
|
|
|
+ $c->store_id('==',$h->store_id);
|
|
|
+ $store = Store::model()->find($c);
|
|
|
+ /*CommonSMS::send('jinguo_order_retrieve', array(
|
|
|
+ 'user_name' => $h->user_name,
|
|
|
+ 'year' => date('Y',$h->status_time),
|
|
|
+ 'month' => date('m',$h->status_time),
|
|
|
+ 'day' => date('d',$h->status_time),
|
|
|
+ 'hour' => date('H',$h->status_time),
|
|
|
+ 'minute' => date('i',$h->status_time),
|
|
|
+ 'Interviewt' => '面试',
|
|
|
+ 'store' => $store->store_name,
|
|
|
+ 'address' => $store->address,
|
|
|
+ 'phone' => $store->mobile,
|
|
|
+ 'mobile' => $h->mobile,
|
|
|
+ ));*/
|
|
|
+
|
|
|
+ }
|
|
|
CommonFn::requestAjax($success, '修改成功', array());
|
|
|
|
|
|
}
|