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:
commit
cced354b2a
181
composer.lock
generated
181
composer.lock
generated
@ -2365,33 +2365,34 @@
|
|||||||
"time": "2017-10-23T01:57:42+00:00"
|
"time": "2017-10-23T01:57:42+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"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": [
|
||||||
{
|
{
|
||||||
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
|
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
|
||||||
"preferred": true
|
"preferred": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-curl": "*",
|
"ext-curl": "*",
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"ext-simplexml": "*",
|
"ext-mbstring": "*",
|
||||||
"guzzlehttp/guzzle": "^6.2.1 || ^7.0",
|
"ext-simplexml": "*",
|
||||||
"guzzlehttp/guzzle-services": "^1.1",
|
"guzzlehttp/guzzle": "^6.2.1 || ^7.0",
|
||||||
"guzzlehttp/psr7": "^1.3.1 || ^2.0",
|
"guzzlehttp/guzzle-services": "^1.1",
|
||||||
"php": ">=5.6"
|
"guzzlehttp/psr7": "^1.3.1 || ^2.0",
|
||||||
|
"php": ">=5.6"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
@ -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",
|
||||||
@ -4908,40 +4909,43 @@
|
|||||||
],
|
],
|
||||||
"time": "2022-05-27T12:56:18+00:00"
|
"time": "2022-05-27T12:56:18+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"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": [
|
||||||
{
|
{
|
||||||
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
|
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
|
||||||
"preferred": true
|
"preferred": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"guzzlehttp/guzzle": "^6.3 || ^7.0",
|
"guzzlehttp/guzzle": "^6.3 || ^7.0",
|
||||||
"php": ">=5.6.0"
|
"php": ">=5.6.0"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"require-dev": {
|
||||||
"autoload": {
|
"phpunit/phpunit": "^9.5"
|
||||||
"psr-4": {
|
},
|
||||||
"TencentCloud\\": "./src/TencentCloud"
|
"type": "library",
|
||||||
},
|
"autoload": {
|
||||||
"classmap": [
|
"psr-4": {
|
||||||
"src/QcloudApi/QcloudApi.php"
|
"TencentCloud\\": "./src/TencentCloud"
|
||||||
]
|
},
|
||||||
},
|
"classmap": [
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
"src/QcloudApi/QcloudApi.php"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
"license": [
|
"license": [
|
||||||
"Apache-2.0"
|
"Apache-2.0"
|
||||||
],
|
],
|
||||||
@ -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",
|
||||||
@ -5095,28 +5099,29 @@
|
|||||||
},
|
},
|
||||||
"time": "2022-04-19T20:14:54+00:00"
|
"time": "2022-04-19T20:14:54+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"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": [
|
||||||
{
|
{
|
||||||
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
|
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
|
||||||
"preferred": true
|
"preferred": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"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"
|
||||||
}
|
}
|
||||||
|
37
db/migrations/20230522141831.php
Normal file
37
db/migrations/20230522141831.php
Normal 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user