|
@@ -19,6 +19,7 @@ class Reserve extends MongoAr{
|
|
|
public $status;//0 待处理 1 已处理
|
|
|
public $time;//创建时间
|
|
|
public $user;
|
|
|
+ public $source_type;//格式{'id': 1, 'name': '青浦店'}
|
|
|
public static $status_option = array(
|
|
|
1 => '待处理',
|
|
|
2 => '已处理'
|
|
@@ -66,6 +67,7 @@ class Reserve extends MongoAr{
|
|
|
$newRow['type'] = CommonFn::get_val_if_isset($row,'type','');
|
|
|
$newRow['booking_time'] = CommonFn::get_val_if_isset($row,'booking_time',0);
|
|
|
$newRow['booking_time_str'] = date('Y年n月d日 H:i',$newRow['booking_time']);;
|
|
|
+ $newRow['source_type'] =CommonFn::get_val_if_isset($row,'$source_type','');
|
|
|
if(APPLICATION=='admin'){
|
|
|
$newRow['action_user'] = CommonFn::get_val_if_isset($row,'action_user',"");
|
|
|
$newRow['action_time'] = CommonFn::get_val_if_isset($row,'action_time',"");
|