Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phpSDK最新的源码messagexsend.php和message.php有问题 #9

Open
lance-z opened this issue May 30, 2021 · 0 comments
Open

phpSDK最新的源码messagexsend.php和message.php有问题 #9

lance-z opened this issue May 30, 2021 · 0 comments

Comments

@lance-z
Copy link

lance-z commented May 30, 2021

messagexsend.php 第42行 $request['addressbook'] = substr($request['addressbook'],0,strlen($request['addressbook'])-2);应该是-1
message.php 第37行 $arg = substr($arg,0,strlen($arg)-2); 也应该是-1即可
另外 message.php 34行到36行,each在php7里面被废弃了 建议改成foreach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant