1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-22 11:41:27 +08:00

增加v1.2.2发布说明

This commit is contained in:
xiaochong0302 2020-12-23 11:44:21 +08:00
parent 8af866ab64
commit 61218a22c3
5 changed files with 33 additions and 10 deletions

View File

@ -1,3 +1,23 @@
### [v1.2.2](https://gitee.com/koogua/course-tencent-cloud/releases/v1.2.2)(2020-12-24)
#### 增加
- 登录账户微信提醒
- 购买成功微信提醒
- 退款成功微信提醒
- 开始直播微信提醒
- 咨询回复微信提醒
- 咨询回复短信提醒
#### 修复
- 创建章节,关联表数据没有生成
- 创建群组没有生成max_im_group_id缓存
- 课程分类列表没有过滤掉帮助分类的内容
- 创建角色字段routes MySQL text 类型报错
- 低品质视频无法播放
- 后台遗漏的权限
### [v1.2.1](https://gitee.com/koogua/course-tencent-cloud/releases/v1.2.1)(2020-12-10)
- 增加QQ微信微博第三方登录
- 代码优化以及问题修复

View File

@ -6,9 +6,9 @@
酷瓜云课堂依托腾讯云基础服务架构采用C扩展框架Phalcon开发GPL-2.0开源协议,致力开源网课系统,开源网校系统,开源在线教育系统。
![](https://img.shields.io/static/v1?label=release&message=1.2.1&color=blue)
![](https://img.shields.io/static/v1?label=stars&message=112&color=blue)
![](https://img.shields.io/static/v1?label=forks&message=41&color=blue)
![](https://img.shields.io/static/v1?label=release&message=1.2.2&color=blue)
![](https://img.shields.io/static/v1?label=stars&message=136&color=blue)
![](https://img.shields.io/static/v1?label=forks&message=50&color=blue)
![](https://img.shields.io/static/v1?label=license&message=GPL-2.0&color=blue)
#### 系统功能
@ -86,3 +86,5 @@ Tips: 测试支付请用手机号注册一个新账户,以便接收订单通
- 系统定制
- 企业授权
毫无保留的真开源不容易,如果对你有帮助,请给我们 **STAR**

View File

@ -6,7 +6,7 @@ use App\Models\WechatSubscribe as WechatSubscribeModel;
use App\Repos\WechatSubscribe as WechatSubscribeRepo;
use App\Services\Wechat as WechatService;
use App\Validators\User as UserValidator;
use EasyWechat\Kernel\Messages\Text as TextMessage;
use EasyWeChat\Kernel\Messages\Text as TextMessage;
class WechatOfficialAccount extends Service
{
@ -151,14 +151,17 @@ class WechatOfficialAccount extends Service
protected function handleClickEvent($message)
{
$this->defaultReplyMessage();
}
protected function handleViewEvent($message)
{
$this->defaultReplyMessage();
}
protected function handleLocationEvent($message)
{
$this->defaultReplyMessage();
}
protected function handleTextReply($message)

View File

@ -11,7 +11,7 @@ class AppInfo
protected $link = 'https://gitee.com/koogua';
protected $version = '1.2.1';
protected $version = '1.2.2';
public function __get($name)
{

View File

@ -17,10 +17,6 @@ class ConsultReply extends WechatNotice
*/
public function handle(WechatSubscribeModel $subscribe, array $params)
{
$openId = $subscribe->open_id;
$templateId = $this->getTemplateId($this->templateCode);
$first = sprintf('%s 回复了你的咨询!', $params['replier']['name']);
$remark = '如果还有其它疑问,请和我们保持联系哦!';
@ -31,7 +27,9 @@ class ConsultReply extends WechatNotice
'keyword1' => $params['course']['title'],
];
return $this->send($openId, $templateId, $params);
$templateId = $this->getTemplateId($this->templateCode);
return $this->send($subscribe->open_id, $templateId, $params);
}
}