微擎返回图文信息

微擎返回图文信息

return $this->respNews(array(
    'Title' => ('标题'),
    'Description' => '点击参加活动。',
    'PicUrl' => tomedia($good['goods_img']),
    'Url' => $this->createMobileUrl('yq', array(
        'id' => $good['id'],
        'from_qrcode' => 1,
        'parent_openid' => $rec['openid']
    ))
));
                    
原文地址:https://www.cnblogs.com/GetcharZp/p/11692964.html