1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-28 05:11:39 +08:00

v1.6.2发布

This commit is contained in:
koogua 2023-02-15 19:41:24 +08:00
parent 2bc5cbf1a9
commit d560e62405
7 changed files with 40 additions and 46 deletions

View File

@ -1,6 +1,14 @@
### [v1.6.2](https://gitee.com/koogua/course-tencent-cloud/releases/v1.6.1)(2023-01-12) ### [v1.6.2](https://gitee.com/koogua/course-tencent-cloud/releases/v1.6.1)(2023-01-12)
- ServerMonitor资源监控阀值可配置 - 增加ServerMonitor监控指标配置
- 同步更新腾讯云短信内容规则
- 文章和问答增加评论开关属性
- 修正视频记忆播放无效问题
- 升级composer包版本
- 优化Repo查询默认排序
- 优化管理后台细节
- 优化二维码输出
- 优化评分检查
### [v1.6.1](https://gitee.com/koogua/course-tencent-cloud/releases/v1.6.1)(2022-12-12) ### [v1.6.1](https://gitee.com/koogua/course-tencent-cloud/releases/v1.6.1)(2022-12-12)

View File

@ -101,7 +101,6 @@ class Package extends Service
$data = []; $data = [];
$data['title'] = $validator->checkTitle($post['title']); $data['title'] = $validator->checkTitle($post['title']);
$data['summary'] = $validator->checkSummary($post['summary']);
$package = new PackageModel(); $package = new PackageModel();

View File

@ -87,7 +87,6 @@ class Topic extends Service
$data = []; $data = [];
$data['title'] = $validator->checkTitle($post['title']); $data['title'] = $validator->checkTitle($post['title']);
$data['summary'] = $validator->checkSummary($post['summary']);
$topic = new TopicModel(); $topic = new TopicModel();

View File

@ -12,12 +12,6 @@
<input class="layui-input" type="text" name="title" lay-verify="required"> <input class="layui-input" type="text" name="title" lay-verify="required">
</div> </div>
</div> </div>
<div class="layui-form-item">
<label class="layui-form-label">简介</label>
<div class="layui-input-block">
<textarea class="layui-textarea" name="summary"></textarea>
</div>
</div>
<div class="layui-form-item"> <div class="layui-form-item">
<label class="layui-form-label"></label> <label class="layui-form-label"></label>
<div class="layui-input-block"> <div class="layui-input-block">

View File

@ -12,12 +12,6 @@
<input class="layui-input" type="text" name="title" lay-verify="required"> <input class="layui-input" type="text" name="title" lay-verify="required">
</div> </div>
</div> </div>
<div class="layui-form-item">
<label class="layui-form-label">简介</label>
<div class="layui-input-block">
<textarea class="layui-textarea" name="summary"></textarea>
</div>
</div>
<div class="layui-form-item"> <div class="layui-form-item">
<label class="layui-form-label"></label> <label class="layui-form-label"></label>
<div class="layui-input-block"> <div class="layui-input-block">

View File

@ -54,7 +54,7 @@ class Review extends Validator
public function checkRating($rating) public function checkRating($rating)
{ {
if (!in_array($rating, [1, 2, 3, 4, 5])) { if ($rating < 1 || $rating > 5) {
throw new BadRequestException('review.invalid_rating'); throw new BadRequestException('review.invalid_rating');
} }

60
composer.lock generated
View File

@ -2366,16 +2366,16 @@
}, },
{ {
"name": "qcloud/cos-sdk-v5", "name": "qcloud/cos-sdk-v5",
"version": "v2.5.6", "version": "v2.6.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/tencentyun/cos-php-sdk-v5.git", "url": "https://github.com/tencentyun/cos-php-sdk-v5.git",
"reference": "607ee49d372a799964206b6ae0a9eb2816201c42" "reference": "d367ba8d0305b83364b64055594a0ac22b1cefd8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/tencentyun/cos-php-sdk-v5/zipball/607ee49d372a799964206b6ae0a9eb2816201c42", "url": "https://api.github.com/repos/tencentyun/cos-php-sdk-v5/zipball/d367ba8d0305b83364b64055594a0ac22b1cefd8",
"reference": "607ee49d372a799964206b6ae0a9eb2816201c42", "reference": "d367ba8d0305b83364b64055594a0ac22b1cefd8",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -2433,9 +2433,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/tencentyun/cos-php-sdk-v5/issues", "issues": "https://github.com/tencentyun/cos-php-sdk-v5/issues",
"source": "https://github.com/tencentyun/cos-php-sdk-v5/tree/v2.5.6" "source": "https://github.com/tencentyun/cos-php-sdk-v5/tree/v2.6.1"
}, },
"time": "2022-06-07T14:49:19+00:00" "time": "2023-02-07T09:49:12+00:00"
}, },
{ {
"name": "ralouphie/getallheaders", "name": "ralouphie/getallheaders",
@ -2489,16 +2489,16 @@
}, },
{ {
"name": "robmorgan/phinx", "name": "robmorgan/phinx",
"version": "0.12.12", "version": "0.12.13",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/cakephp/phinx.git", "url": "https://github.com/cakephp/phinx.git",
"reference": "9a6ce1e7fdf0fa4e602ba5875b5bc9442ccaa115" "reference": "6eb0f295e140ed2804d93396755f0ce9ada4ec07"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/cakephp/phinx/zipball/9a6ce1e7fdf0fa4e602ba5875b5bc9442ccaa115", "url": "https://api.github.com/repos/cakephp/phinx/zipball/6eb0f295e140ed2804d93396755f0ce9ada4ec07",
"reference": "9a6ce1e7fdf0fa4e602ba5875b5bc9442ccaa115", "reference": "6eb0f295e140ed2804d93396755f0ce9ada4ec07",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -2575,9 +2575,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/cakephp/phinx/issues", "issues": "https://github.com/cakephp/phinx/issues",
"source": "https://github.com/cakephp/phinx/tree/0.12.12" "source": "https://github.com/cakephp/phinx/tree/0.12.13"
}, },
"time": "2022-07-09T18:53:51+00:00" "time": "2022-10-03T04:57:40+00:00"
}, },
{ {
"name": "swiftmailer/swiftmailer", "name": "swiftmailer/swiftmailer",
@ -4910,16 +4910,16 @@
}, },
{ {
"name": "tencentcloud/tencentcloud-sdk-php", "name": "tencentcloud/tencentcloud-sdk-php",
"version": "3.0.731", "version": "3.0.824",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/TencentCloud/tencentcloud-sdk-php.git", "url": "https://github.com/TencentCloud/tencentcloud-sdk-php.git",
"reference": "a247a556c120dd7dd95db40035edcde7271fe40d" "reference": "1d85da7e51ba02defe33fbae0b6dbae0f1d7caf5"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/TencentCloud/tencentcloud-sdk-php/zipball/a247a556c120dd7dd95db40035edcde7271fe40d", "url": "https://api.github.com/repos/TencentCloud/tencentcloud-sdk-php/zipball/1d85da7e51ba02defe33fbae0b6dbae0f1d7caf5",
"reference": "a247a556c120dd7dd95db40035edcde7271fe40d", "reference": "1d85da7e51ba02defe33fbae0b6dbae0f1d7caf5",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -4957,9 +4957,9 @@
"homepage": "https://github.com/TencentCloud/tencentcloud-sdk-php", "homepage": "https://github.com/TencentCloud/tencentcloud-sdk-php",
"support": { "support": {
"issues": "https://github.com/TencentCloud/tencentcloud-sdk-php/issues", "issues": "https://github.com/TencentCloud/tencentcloud-sdk-php/issues",
"source": "https://github.com/TencentCloud/tencentcloud-sdk-php/tree/3.0.731" "source": "https://github.com/TencentCloud/tencentcloud-sdk-php/tree/3.0.824"
}, },
"time": "2022-09-21T00:09:54+00:00" "time": "2023-02-15T00:03:58+00:00"
}, },
{ {
"name": "webmozart/assert", "name": "webmozart/assert",
@ -5097,16 +5097,16 @@
}, },
{ {
"name": "workerman/gateway-worker", "name": "workerman/gateway-worker",
"version": "v3.0.25", "version": "v3.0.27",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/walkor/GatewayWorker.git", "url": "https://github.com/walkor/GatewayWorker.git",
"reference": "5b47eb9a90c6b2afc25327979e41de352cb3c286" "reference": "c0cae6c0e69288ab7dcc8b25599d3b9e4f4441d2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/walkor/GatewayWorker/zipball/5b47eb9a90c6b2afc25327979e41de352cb3c286", "url": "https://api.github.com/repos/walkor/GatewayWorker/zipball/c0cae6c0e69288ab7dcc8b25599d3b9e4f4441d2",
"reference": "5b47eb9a90c6b2afc25327979e41de352cb3c286", "reference": "c0cae6c0e69288ab7dcc8b25599d3b9e4f4441d2",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -5116,7 +5116,7 @@
] ]
}, },
"require": { "require": {
"workerman/workerman": "^4.0.30" "workerman/workerman": "^4.0.0 || ^5.0.0"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@ -5135,7 +5135,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/walkor/GatewayWorker/issues", "issues": "https://github.com/walkor/GatewayWorker/issues",
"source": "https://github.com/walkor/GatewayWorker/tree/v3.0.25" "source": "https://github.com/walkor/GatewayWorker/tree/v3.0.27"
}, },
"funding": [ "funding": [
{ {
@ -5147,7 +5147,7 @@
"type": "patreon" "type": "patreon"
} }
], ],
"time": "2022-09-19T09:59:56+00:00" "time": "2023-02-09T09:16:04+00:00"
}, },
{ {
"name": "workerman/gatewayclient", "name": "workerman/gatewayclient",
@ -5306,16 +5306,16 @@
}, },
{ {
"name": "yansongda/pay", "name": "yansongda/pay",
"version": "v2.10.4", "version": "v2.10.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/yansongda/pay.git", "url": "https://github.com/yansongda/pay.git",
"reference": "e378f43800f867d53ce35ee90aa17f0c3b7b5838" "reference": "f7d93ed784de4ca09d3386d28139c724ddd526fc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/yansongda/pay/zipball/e378f43800f867d53ce35ee90aa17f0c3b7b5838", "url": "https://api.github.com/repos/yansongda/pay/zipball/f7d93ed784de4ca09d3386d28139c724ddd526fc",
"reference": "e378f43800f867d53ce35ee90aa17f0c3b7b5838", "reference": "f7d93ed784de4ca09d3386d28139c724ddd526fc",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -5366,7 +5366,7 @@
"issues": "https://github.com/yansongda/pay/issues", "issues": "https://github.com/yansongda/pay/issues",
"source": "https://github.com/yansongda/pay" "source": "https://github.com/yansongda/pay"
}, },
"time": "2022-03-10T01:27:10+00:00" "time": "2022-12-03T13:44:53+00:00"
}, },
{ {
"name": "yansongda/supports", "name": "yansongda/supports",