feat: 产品分类推荐数据管理
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s

This commit is contained in:
2026-03-27 14:03:14 +08:00
parent 61728434d3
commit a1c7ae62ba
8 changed files with 416 additions and 4 deletions

View File

@@ -0,0 +1,33 @@
<?php
declare (strict_types = 1);
namespace app\common\model;
/**
* 产品分类推荐模型
* @mixin \think\Model
*/
class ProductCategoryRecommendBaseModel extends BaseModel
{
// 表名
protected $name = 'product_category_recommend';
// 主键
protected $pk = 'id';
// 字段信息
protected $schema = [
'id' => 'int',
'language_id' => 'int',
'category_id' => 'int',
'title' => 'string',
'image' => 'string',
'desc' => 'string',
'link' => 'string',
'sort' => 'int',
'disabled' => 'int',
'created_at' => 'datetime',
'updated_at' => 'datetime',
'deleted_at' => 'datetime'
];
}