dev #21

Merged
weiz merged 11 commits from dev into master 2023-11-07 16:57:39 +08:00
2 changed files with 4 additions and 17 deletions
Showing only changes of commit c5d1a68dee - Show all commits

View File

@ -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'];

View 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;