初始化项目
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Api\CodeGeneration;
|
||||
|
||||
use App\BaseApp\BaseController;
|
||||
use App\Service\CodeGeneration\ProductImageService;
|
||||
|
||||
class ProductImageController extends BaseController
|
||||
{
|
||||
//
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->insertField = ["url","product_id"];
|
||||
$this->updateField = ["id","url","product_id"];
|
||||
$this->service = ProductImageService::getInstance();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user