$mid = m('member')->getMid(); public function getMid() { global $_W; $openid = $_W['openid']; $member = $this->getMember($openid); return $member['id']; }
$mid = m('member')->getMid(); public function getMid() { global $_W; $openid = $_W['openid']; $member = $this->getMember($openid); return $member['id']; }