Files
spa-api/app/Http/Controllers/RoleController.php

21 lines
672 B
PHP
Raw Normal View History

<?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'];
}
}