From 2bc65b9acfd7e711a9288ed543856e6e76105d4a Mon Sep 17 00:00:00 2001 From: augushong Date: Thu, 2 Nov 2023 21:01:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...25602_mall_goods_append_field_property.php | 36 +++++++++++++++++++ .../admin/service/adminUpdateData/tips.php | 7 ++++ .../base/common/command/admin/VersionBase.php | 5 +-- 3 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 database/migrations/20231102125602_mall_goods_append_field_property.php diff --git a/database/migrations/20231102125602_mall_goods_append_field_property.php b/database/migrations/20231102125602_mall_goods_append_field_property.php new file mode 100644 index 0000000..d006907 --- /dev/null +++ b/database/migrations/20231102125602_mall_goods_append_field_property.php @@ -0,0 +1,36 @@ +table('mall_goods'); + $table->addColumn(Column::text('property_static')->setComment('属性(静态字段)')); + + $table->update(); + } +} diff --git a/extend/base/admin/service/adminUpdateData/tips.php b/extend/base/admin/service/adminUpdateData/tips.php index 97a2324..b66f706 100644 --- a/extend/base/admin/service/adminUpdateData/tips.php +++ b/extend/base/admin/service/adminUpdateData/tips.php @@ -1,4 +1,5 @@ 'v2.0.64', + 'desc' => [ + '商品表增加了自定义字段的属性输入字段,用于系统商品代码演示', + ], + ], ]; diff --git a/extend/base/common/command/admin/VersionBase.php b/extend/base/common/command/admin/VersionBase.php index e17be26..d940b8a 100644 --- a/extend/base/common/command/admin/VersionBase.php +++ b/extend/base/common/command/admin/VersionBase.php @@ -12,12 +12,13 @@ use think\console\Output; class VersionBase extends Command { - public const VERSION = 'v2.0.63'; + public const VERSION = 'v2.0.64'; public const LAYUI_VERSION = '2.8.17'; public const COMMENT = [ - '修改更新逻辑', + '属性输入组件增加拖动排序,自定义列', + '给商品表增加字段', '发布新版本', ];