Skip to content

Commit

Permalink
2016-04-07 Mojo::Weixin v1.0.9 发布
Browse files Browse the repository at this point in the history
  • Loading branch information
hexsum committed Apr 7, 2016
1 parent b93ace2 commit 4a47ac7
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 2 deletions.
8 changes: 8 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
2016-04-07 Mojo::Weixin v1.0.9
1)修复IRCShell插件的bug
2)修复更新群信息的bug
3)新增 创建群、邀请好友入群、移除群成功、修改群成名的功能
4)Openwx插件增加 创建群、邀请好友入群、移除群成功、搜索好友、搜索群的API接口
5)修复SmartReply插件包含<br />等html标签的问题
6)新增 XiaoiceReply 插件

2016-03-25 Mojo::Weixin v1.0.8
1)登录过程完善(发送状态通知、完善cookie处理、注销处理)
2)手机端强制退出或其他设备登录收到下线通知不再重新登录而是停止运行
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Mojo-Weixin v1.0.8 [![Build Status](https://travis-ci.org/sjdy521/Mojo-Weixin.svg?branch=master)](https://travis-ci.org/sjdy521/Mojo-Weixin)
Mojo-Weixin v1.0.9 [![Build Status](https://travis-ci.org/sjdy521/Mojo-Weixin.svg?branch=master)](https://travis-ci.org/sjdy521/Mojo-Weixin)
========================
使用Perl语言编写的微信客户端框架,基于Mojolicious,要求Perl版本5.10+,可通过插件提供基于HTTP协议的api接口供其他语言或系统调用

Expand All @@ -22,6 +22,7 @@ Mojo-Weixin v1.0.8 [![Build Status](https://travis-ci.org/sjdy521/Mojo-Weixin.sv
KnowledgeBase 2 已发布 sjdy521 通过微信消息自定义问答知识库
FuckDaShen 1 已发布 sjdy521 对消息中的"大神"关键词进行鄙视
PostQRcode 0 已发布 sjdy521 登录二维码发送到邮箱实现远程扫码
XiaoiceReply 1 已发布 sjdy521 利用微软小冰实现智能聊天回复
SmartReply 0 已发布 sjdy521 智能聊天回复
```
###效果展示
Expand Down Expand Up @@ -74,6 +75,8 @@ Mojo-Weixin v1.0.8 [![Build Status](https://travis-ci.org/sjdy521/Mojo-Weixin.sv

安装之前请先确认下你的系统是否已经安装了Perl,因为除了windows,其他大部分的平台默认都可能已经预装过

并且你的Perl版本至少5.10.1+,推荐5.14+

[Perl官网下载页面](https://www.perl.org/get.html) 有包含Unix/Linux、Mac OS X、Windows多平台比较全面详细的安装说明

建议大家尽量选择**Binaries**(二进制预编译)的版本,安装即可使用,比较方便
Expand Down
13 changes: 13 additions & 0 deletions doc/Weixin.pod
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,19 @@ Mojo::Weixin - A Weixin Client Framework base on Mojolicious

$client->load("Weather");

=head2 Mojo::Weixin::Plugin::XiaoiceReply

利用微软小冰实现智能回复,需要登录的微信帐号先关注微软小冰公众号

该智能回复是独占模式,即一段时间内只能够和某个好友或某个群进行智能对话

$client->load("XiaoiceReply");
$client->load("XiaoiceReply",data=>{
is_need_at => 1, #可选,是否需要艾特我来触发智能回复
comamnd_on => "小冰启动", #可选,启动智能回复的命令,在手机端发送给任何人/群该消息内容即可
comamnd_off => "小冰停止", #可选,停止智能回复的命令,在手机端发送给任何人/群该消息内容即可
});

=head2 Mojo::Weixin::Plugin::SmartReply

实现机器人的智能回复,支持好友消息、群消息
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Weixin.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Mojo::Weixin;
our $VERSION = '1.0.8';
our $VERSION = '1.0.9';
use Mojo::Weixin::Base 'Mojo::EventEmitter';
use Mojo::IOLoop;
use Mojo::Weixin::Log;
Expand Down
13 changes: 13 additions & 0 deletions lib/Mojo/Weixin.pod
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,19 @@ Mojo::Weixin - A Weixin Client Framework base on Mojolicious

$client->load("Weather");

=head2 Mojo::Weixin::Plugin::XiaoiceReply

利用微软小冰实现智能回复,需要登录的微信帐号先关注微软小冰公众号

该智能回复是独占模式,即一段时间内只能够和某个好友或某个群进行智能对话

$client->load("XiaoiceReply");
$client->load("XiaoiceReply",data=>{
is_need_at => 1, #可选,是否需要艾特我来触发智能回复
comamnd_on => "小冰启动", #可选,启动智能回复的命令,在手机端发送给任何人/群该消息内容即可
comamnd_off => "小冰停止", #可选,停止智能回复的命令,在手机端发送给任何人/群该消息内容即可
});

=head2 Mojo::Weixin::Plugin::SmartReply

实现机器人的智能回复,支持好友消息、群消息
Expand Down
1 change: 1 addition & 0 deletions lib/Mojo/Weixin/Plugin/XiaoiceReply.pm
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package Mojo::Weixin::Plugin::XiaoiceReply;
our $PRIORITY = 1;
sub call{
my $client = shift;
my $data = shift;
Expand Down

0 comments on commit 4a47ac7

Please sign in to comment.