苗总组局小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
489 B

<?php
namespace app\api\controller;
use app\api\library\buiapi\Api;
class {%controller_name%} extends Api{
protected $model = null;
protected $noNeedRight = '*';
protected $noNeedLogin = {%need_login%};
protected $_allow_func = {%allow_func%};
{%index_search_field%}
use \app\api\library\buiapi\traits\Api;
public function _initialize(){
parent::_initialize();
$this->model = new \app\{%model_path%}\model\{%model_name%};
}
{%controller_index%}
}