21 lines
672 B
PHP
21 lines
672 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\BaseApp\BaseController;
|
|
use App\Service\ProjectService;
|
|
use App\Service\RoleService;
|
|
|
|
class RoleController extends BaseController
|
|
{
|
|
//
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->service = RoleService::getInstance();
|
|
$this->insertField = [ 'user_id', 'title', 'cover', 'description', 'video_url', 'author_id', 'price', 'preferential_price', 'front', 'service', 'deploy', 'status'];
|
|
$this->updateField = [ 'id', 'user_id', 'title', 'cover', 'description', 'video_url', 'author_id', 'price', 'preferential_price', 'front', 'service', 'deploy', 'status'];
|
|
}
|
|
}
|