public function listByUID($id, $info_with = array()) { $info = $info_with; $info['user_id'] = $id; $User_sns = new User_snsModel(); $open_user_info = $User_sns->where($info)->relation(true)->find(); return $open_user_info; }
public function detailByUID($id, $type, $relation = true, $info_with = array()) { $info = $info_with; $info['user_id'] = $id; $info['type'] = $type; $User_sns = new User_snsModel(); $open_user_info = $User_sns->where($info)->relation($relation)->find(); return $open_user_info; }