作者 chencheng

0529-test-2

... ... @@ -43,7 +43,7 @@ class Wechat extends Api
*/
public function test_code(){
$code = request()->param('code');
if(!empty($code)){
if(empty($code)){
//跳转官方
$APPID = config('site.appid');
$REDIRECT_URI = 'https://coupon.xp.yn.cn/index.php/api/v1/Wechat/test_code';
... ...