tencentyun / wafer-php-server-sdk

Wafer - 企业级微信小程序全栈方案
https://github.com/tencentyun/wafer
Other
252 stars 62 forks source link

Call to undefined method QCloud_WeApp_SDK\Auth\LoginService::getHttpHeader() #12

Closed lyz7805 closed 6 years ago

lyz7805 commented 6 years ago

https://github.com/tencentyun/wafer-php-server-sdk/blob/03758c38ab3e0973ef646bd85ea3dae4d35021dc/lib/Auth/LoginService.php#L31

可直接修改为: $skey = Util::getHttpHeader(Constants::WX_HEADER_SKEY);

jas0ncn commented 6 years ago

已修复。 https://github.com/tencentyun/wafer-php-server-sdk/commit/411ab2f68c716764b3e9711d23336d6e0603ed93