Files
nl-mall-api/app/Http/Controllers/Api/CodeGeneration/ProductController.php
lq 035ab1105c
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
商品、订单部分相关代码生成,下一步先把商品搞完再搞订单
2025-05-20 16:52:47 +08:00

19 lines
585 B
PHP

<?php
namespace App\Http\Controllers\Api\CodeGeneration;
use App\BaseApp\BaseController;
use App\Service\CodeGeneration\ProductService;
class ProductController extends BaseController
{
//
public function __construct()
{
parent::__construct();
$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();
}
}