$join = 'customer ON share.weixin_openid = customer.weixin_openid';$shares = $Share->getShares($smap, $sort, '', '', $join, $sjoin);