dev #21
|
@ -9,6 +9,7 @@
|
|||
use app\common\model\contract\Contract;
|
||||
use app\common\model\user\WorkerUser;
|
||||
use think\facade\Db;
|
||||
use think\response\Json;
|
||||
|
||||
/**
|
||||
* 合同控制器
|
||||
|
@ -18,19 +19,19 @@
|
|||
class ContractController extends BaseAdminController
|
||||
{
|
||||
|
||||
public function lists(): \think\response\Json
|
||||
public function lists(): Json
|
||||
{
|
||||
return $this->dataLists(new ContractLists());
|
||||
}
|
||||
|
||||
public function detail(): \think\response\Json
|
||||
public function detail(): Json
|
||||
{
|
||||
$params = $this->request->get(['id']);
|
||||
$result = ContractLogic::detail($params);
|
||||
return $this->data($result);
|
||||
}
|
||||
|
||||
public function wind_control(): \think\response\Json
|
||||
public function wind_control(): Json
|
||||
{
|
||||
$params = $this->request->param();
|
||||
$file = $params['file'];
|
||||
|
|
|
@ -1,20 +1,6 @@
|
|||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | likeadmin快速开发前后端分离管理后台(PHP版)
|
||||
// +----------------------------------------------------------------------
|
||||
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
|
||||
// | 开源版本可自由商用,可去除界面版权logo
|
||||
// | gitee下载:https://gitee.com/likeshop_gitee/likeadmin
|
||||
// | github下载:https://github.com/likeshop-github/likeadmin
|
||||
// | 访问官网:https://www.likeadmin.cn
|
||||
// | likeadmin团队 版权所有 拥有最终解释权
|
||||
// +----------------------------------------------------------------------
|
||||
// | author: likeadminTeam
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace app\adminapi\lists\contract;
|
||||
|
||||
|
||||
use app\adminapi\lists\BaseAdminDataLists;
|
||||
use app\common\model\contract\Contract;
|
||||
use app\common\lists\ListsSearchInterface;
|
||||
|
|
Loading…
Reference in New Issue