|
@@ -21,6 +21,7 @@ class RUser extends MongoAr
|
|
public $order_count = 0; // 用户有效订单总数
|
|
public $order_count = 0; // 用户有效订单总数
|
|
public $shop_address = array(); //用户收货地址列表
|
|
public $shop_address = array(); //用户收货地址列表
|
|
public $balance = 0;//账户余额
|
|
public $balance = 0;//账户余额
|
|
|
|
+ public $user_info = array();
|
|
|
|
|
|
|
|
|
|
public function __construct($scenario='insert'){
|
|
public function __construct($scenario='insert'){
|
|
@@ -97,6 +98,7 @@ class RUser extends MongoAr
|
|
$newRow['user_name'] = CommonFn::get_val_if_isset($row,'user_name','');
|
|
$newRow['user_name'] = CommonFn::get_val_if_isset($row,'user_name','');
|
|
|
|
|
|
$newRow['register_time'] = CommonFn::get_val_if_isset($row,'register_time',time());
|
|
$newRow['register_time'] = CommonFn::get_val_if_isset($row,'register_time',time());
|
|
|
|
+ $newRow['user_info'] = CommonFn::get_val_if_isset($row,'user_info',array());
|
|
|
|
|
|
$newRow['register_time_str'] = CommonFn::sgmdate("Y年n月d日", $newRow['register_time'],1);
|
|
$newRow['register_time_str'] = CommonFn::sgmdate("Y年n月d日", $newRow['register_time'],1);
|
|
|
|
|