1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-29 13:51:37 +08:00

Merge branch 'koogua/v1.6.4' of https://gitee.com/koogua/course-tencent-cloud into koogua/v1.6.4

This commit is contained in:
xiaochong0302 2023-05-22 21:14:00 +08:00
commit cced354b2a
2 changed files with 130 additions and 88 deletions

45
composer.lock generated
View File

@ -2366,16 +2366,16 @@
}, },
{ {
"name": "qcloud/cos-sdk-v5", "name": "qcloud/cos-sdk-v5",
"version": "v2.6.1", "version": "v2.6.2",
"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": "d367ba8d0305b83364b64055594a0ac22b1cefd8" "reference": "92a1ee62b85ed4e7bf6836a684df5d7e3158d0ed"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/tencentyun/cos-php-sdk-v5/zipball/d367ba8d0305b83364b64055594a0ac22b1cefd8", "url": "https://api.github.com/repos/tencentyun/cos-php-sdk-v5/zipball/92a1ee62b85ed4e7bf6836a684df5d7e3158d0ed",
"reference": "d367ba8d0305b83364b64055594a0ac22b1cefd8", "reference": "92a1ee62b85ed4e7bf6836a684df5d7e3158d0ed",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -2387,6 +2387,7 @@
"require": { "require": {
"ext-curl": "*", "ext-curl": "*",
"ext-json": "*", "ext-json": "*",
"ext-mbstring": "*",
"ext-simplexml": "*", "ext-simplexml": "*",
"guzzlehttp/guzzle": "^6.2.1 || ^7.0", "guzzlehttp/guzzle": "^6.2.1 || ^7.0",
"guzzlehttp/guzzle-services": "^1.1", "guzzlehttp/guzzle-services": "^1.1",
@ -2433,9 +2434,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.6.1" "source": "https://github.com/tencentyun/cos-php-sdk-v5/tree/v2.6.2"
}, },
"time": "2023-02-07T09:49:12+00:00" "time": "2023-04-07T07:38:24+00:00"
}, },
{ {
"name": "ralouphie/getallheaders", "name": "ralouphie/getallheaders",
@ -4910,16 +4911,16 @@
}, },
{ {
"name": "tencentcloud/tencentcloud-sdk-php", "name": "tencentcloud/tencentcloud-sdk-php",
"version": "3.0.824", "version": "3.0.889",
"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": "1d85da7e51ba02defe33fbae0b6dbae0f1d7caf5" "reference": "a08031e5111f17131fceb429eebb8223c105d8b3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/TencentCloud/tencentcloud-sdk-php/zipball/1d85da7e51ba02defe33fbae0b6dbae0f1d7caf5", "url": "https://api.github.com/repos/TencentCloud/tencentcloud-sdk-php/zipball/a08031e5111f17131fceb429eebb8223c105d8b3",
"reference": "1d85da7e51ba02defe33fbae0b6dbae0f1d7caf5", "reference": "a08031e5111f17131fceb429eebb8223c105d8b3",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -4932,6 +4933,9 @@
"guzzlehttp/guzzle": "^6.3 || ^7.0", "guzzlehttp/guzzle": "^6.3 || ^7.0",
"php": ">=5.6.0" "php": ">=5.6.0"
}, },
"require-dev": {
"phpunit/phpunit": "^9.5"
},
"type": "library", "type": "library",
"autoload": { "autoload": {
"psr-4": { "psr-4": {
@ -4957,9 +4961,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.824" "source": "https://github.com/TencentCloud/tencentcloud-sdk-php/tree/3.0.889"
}, },
"time": "2023-02-15T00:03:58+00:00" "time": "2023-05-22T00:02:52+00:00"
}, },
{ {
"name": "webmozart/assert", "name": "webmozart/assert",
@ -5097,16 +5101,16 @@
}, },
{ {
"name": "workerman/gateway-worker", "name": "workerman/gateway-worker",
"version": "v3.0.27", "version": "v3.0.28",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/walkor/GatewayWorker.git", "url": "https://github.com/walkor/GatewayWorker.git",
"reference": "c0cae6c0e69288ab7dcc8b25599d3b9e4f4441d2" "reference": "a7dffc53403133131a51b9fd3c6c6d70869cb6d3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/walkor/GatewayWorker/zipball/c0cae6c0e69288ab7dcc8b25599d3b9e4f4441d2", "url": "https://api.github.com/repos/walkor/GatewayWorker/zipball/a7dffc53403133131a51b9fd3c6c6d70869cb6d3",
"reference": "c0cae6c0e69288ab7dcc8b25599d3b9e4f4441d2", "reference": "a7dffc53403133131a51b9fd3c6c6d70869cb6d3",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -5116,7 +5120,8 @@
] ]
}, },
"require": { "require": {
"workerman/workerman": "^4.0.0 || ^5.0.0" "php": ">=7.0",
"workerman/workerman": "^4.0.30"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@ -5135,7 +5140,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.27" "source": "https://github.com/walkor/GatewayWorker/tree/v3.0.28"
}, },
"funding": [ "funding": [
{ {
@ -5147,7 +5152,7 @@
"type": "patreon" "type": "patreon"
} }
], ],
"time": "2023-02-09T09:16:04+00:00" "time": "2023-03-24T03:56:27+00:00"
}, },
{ {
"name": "workerman/gatewayclient", "name": "workerman/gatewayclient",
@ -5641,5 +5646,5 @@
"ext-fileinfo": "*" "ext-fileinfo": "*"
}, },
"platform-dev": [], "platform-dev": [],
"plugin-api-version": "2.3.0" "plugin-api-version": "2.0.0"
} }

View File

@ -0,0 +1,37 @@
<?php
/**
* @copyright Copyright (c) 2023 深圳市酷瓜软件有限公司
* @license https://opensource.org/licenses/GPL-2.0
* @link https://www.koogua.com
*/
use Phinx\Db\Adapter\MysqlAdapter;
use Phinx\Migration\AbstractMigration;
final class V20230522141831 extends AbstractMigration
{
public function up()
{
$this->alterReviewLikeTable();
}
protected function alterReviewLikeTable()
{
$table = $this->table('kg_review_like');
if (!$table->hasColumn('update_time')) {
$table->addColumn('update_time', 'integer', [
'null' => false,
'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '更新时间',
'after' => 'create_time',
]);
}
$table->save();
}
}