Home > php教程 > php手册 > PHP 飞信类

PHP 飞信类

WBOY
Release: 2016-06-06 20:08:57
Original
973 people have browsed it

偷了个懒,代码扔在github上了。 用法也很简单: $fetion = new PHPFetion('用户名','密码'); $fetion-send('对方手机','信息'); 会自动识别自己还是对方。(非好友不能发哦) 也实现了$fetion-multiSend,但我偷了个懒,直接循环用send发送了。 事实上,可

偷了个懒,代码扔在github上了。
用法也很简单:

    $fetion = new PHPFetion('用户名','密码');     $fetion->send('对方手机','信息');     会自动识别自己还是对方。(非好友不能发哦)
Copy after login

也实现了$fetion->multiSend,但我偷了个懒,直接循环用send发送了。
事实上,可以在刚登录的时候,利用group先将好友列表拉回来,然后就方便了。但觉得这样就复杂了。何必呢。。一般在用飞信的时候,也很少会用到群发功能吧。所以,我还是循环的send。黑黑

代码地址:https://github.com/neatstudio/yiiextension
欢迎围观

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template