Files
nl-mall-api/app/Http/Controllers/Api/CodeGeneration/ProductLabelRelationsController.php

19 lines
489 B
PHP
Raw Normal View History

<?php
namespace App\Http\Controllers\Api\CodeGeneration;
use App\BaseApp\BaseController;
use App\Service\CodeGeneration\ProductLabelRelationsService;
class ProductLabelRelationsController extends BaseController
{
//
public function __construct()
{
parent::__construct();
$this->insertField = ["product_id","label_id"];
$this->updateField = ["id","product_id","label_id"];
$this->service = ProductLabelRelationsService::getInstance();
}
}