|
@@ -17,7 +17,7 @@ class Reserve extends MongoAr{
|
|
|
public $tech_content;//服务内容
|
|
|
public $status;//0 待处理 1 已处理
|
|
|
public $time;//创建时间
|
|
|
-
|
|
|
+ public $user;
|
|
|
public static $status_option = array(
|
|
|
1 => '待处理',
|
|
|
2 => '已处理'
|
|
@@ -52,7 +52,7 @@ class Reserve extends MongoAr{
|
|
|
public function parseRow($row,$output=array()){
|
|
|
$newRow = array();
|
|
|
$newRow['id'] = (string)$row['_id'];
|
|
|
-
|
|
|
+ $newRow['user'] = CommonFn::get_val_if_isset($row,'user','');
|
|
|
$newRow['user_name'] = CommonFn::get_val_if_isset($row,'user_name','');
|
|
|
$newRow['mobile'] = CommonFn::get_val_if_isset($row,'mobile','');
|
|
|
$newRow['area'] = CommonFn::get_val_if_isset($row,'area','');
|