添加测试的代码生成以及采购编码的页面的代码生成

This commit is contained in:
panx
2024-08-23 16:04:38 +08:00
parent 3566f03653
commit abccb6c47c
19 changed files with 1397 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
<?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();
}
}