Files
swiftadmin/app/admin/controller/Ceshi.php

53 lines
932 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
declare (strict_types = 1);
namespace app\admin\controller;
use app\AdminController;
use Webman\Http\Request;
use app\admin\model\Ceshi as CeshiModel;
/**
* ceshi
* 测试代码
* <!---->
* Class Ceshi
* @package app\admin\controller
*/
class Ceshi extends AdminController
{
/**
* Ceshi模型对象
* @var \app\admin\model\Ceshi
*/
public function __construct()
{
parent::__construct();
$this->model = new CeshiModel;
}
/**
* 默认生成的方法为index/add/edit/del/status 五个方法
* 当创建CURD的时候DIY的函数体和模板为空请自行编写代码
*/
/**
* zdy 函数
*/
public function zdy()
{
return $this->view();
}
/**
* xiaoMing 函数
*/
public function xiaoMing()
{
return $this->view();
}
}