Authored by cailing

微信签名

... ... @@ -76,4 +76,15 @@ class LifeController extends AbstractAction
'couponPage' => true));
}
public function getSignPackageAction()
{
$curl = 'http://www.yohoshow.com/api/wechat/getSignPackage';
$pageurl = $this->get('pageurl', '');
$callback = $this->get('callback', '');
$url = $curl . '?pageurl=' . urlencode($pageurl) . "&callback=" . $callback;
$res = file_get_contents($url);
echo $res;
exit;
}
}
... ...