/** * 发送会员消息 */ public function sendMemberMsg($param) { $send = new sendMemberMsg(); $send->set('code', $param['code']); $send->set('member_id', $param['member_id']); $send->send($param['param']); return true; }
/** * 发送会员消息 */ public function sendMemberMsg($param) { $send = new sendMemberMsg(); $send->set('code', $param['code']); $send->set('member_id', $param['member_id']); if (!empty($param['number']['mobile'])) { $send->set('mobile', $param['number']['mobile']); } if (!empty($param['number']['email'])) { $send->set('email', $param['number']['email']); } $send->send($param['param']); return callback(true); }