Showing
1 changed file
with
11 additions
and
0 deletions
@@ -76,4 +76,15 @@ class LifeController extends AbstractAction | @@ -76,4 +76,15 @@ class LifeController extends AbstractAction | ||
76 | 'couponPage' => true)); | 76 | 'couponPage' => true)); |
77 | } | 77 | } |
78 | 78 | ||
79 | + public function getSignPackageAction() | ||
80 | + { | ||
81 | + $curl = 'http://www.yohoshow.com/api/wechat/getSignPackage'; | ||
82 | + $pageurl = $this->get('pageurl', ''); | ||
83 | + $callback = $this->get('callback', ''); | ||
84 | + $url = $curl . '?pageurl=' . urlencode($pageurl) . "&callback=" . $callback; | ||
85 | + $res = file_get_contents($url); | ||
86 | + echo $res; | ||
87 | + exit; | ||
88 | + } | ||
89 | + | ||
79 | } | 90 | } |
-
Please register or login to post a comment