示例#1
0
 public static function getMemberIdToSpreadCode($memberIds)
 {
     $idsArr = array('fuid' => $memberIds);
     $membersql = new membersql();
     $membersql->setTable('spread_record');
     $membersql->where($idsArr);
     $membersql->setSelectField('fuid,spreadcode');
     $membersql->setType(4);
     $membersql->setKey('fuid');
     $membersql->setOtherKey('spreadcode');
     $row = $membersql->show();
     return $row;
 }
示例#2
0
 public function show($condition, $offset, $count, $field = '*', $key = '', $orderby = 'ORDER BY order_id DESC', $type = 1, $otherkey = '')
 {
     $membersql = new membersql();
     return $membersql->show($condition, 'member_myset', $offset, $count, $orderby, $field, $key, array('icon' => array('type' => 'array', 'format' => 'unserialize')), $type, $otherkey);
 }