商品、订单部分相关代码生成,下一步先把商品搞完再搞订单
Some checks failed
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
Tests / PHP 8.4 (push) Has been cancelled

This commit is contained in:
2025-05-20 16:52:47 +08:00
parent 5bd5938e5c
commit 035ab1105c
45 changed files with 1951 additions and 151 deletions

View File

@@ -11,8 +11,8 @@ class ProductController extends BaseController
public function __construct()
{
parent::__construct();
$this->insertField = ["title","introduction","cover", "images","description","price","classification_id"];
$this->updateField = ["id","title","introduction","cover", "images","description","price","classification_id"];
$this->insertField = ["title","introduction","cover", "images", "labels","description","price","classification_id"];
$this->updateField = ["id","title","introduction","cover", "images", "labels","description","price","classification_id"];
$this->service = ProductService::getInstance();
}
}