/** * @param $openId * @param $content * @return mixed */ public function sendText($openId, $content) { $data = json_encode(array('touser' => $openId, 'msgtype' => 'text', 'text' => array('content' => $content))); $data = CommonTool::decodeUnicode($data); return $this->send($openId, $data); }