dodgepudding / wechat-php-sdk

微信公众平台php开发包, weixin developer SDK.
4.44k stars 2.32k forks source link

jsapi样例test/jsapi/jsaip_demo.php有两处代码有问题 #311

Open xiaobobball opened 8 years ago

xiaobobball commented 8 years ago

第146行:<?php echo $js_sign['appid']; ?> $js_sign['appid']应为$js_sign['appId'] 第148行:<?php echo $js_sign['noncestr']; ?> $js_sign['noncestr']应为$js_sign['nonceStr'] 因为大小写的问题,导致拿不到数据。