ManageEntryPositionController.php
1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php
/**
* @remark :
* @name :ManageEntryPositionController.php
* @author :lyh
* @method :post
* @time :2025/11/3 17:13
*/
namespace App\Http\Controllers\Aside\Manage;
use App\Enums\Common\Code;
use App\Http\Controllers\Aside\BaseController;
use App\Http\Logic\Aside\Manage\ManageEntryPositionLogic;
use Illuminate\Http\Request;
/**
* @remark :岗位管理
* @name :ManageEntryPositionController
* @author :lyh
* @method :post
* @time :2025/11/3 17:13
*/
class ManageEntryPositionController extends BaseController
{
/**
* @param Request $request
*/
public function __construct(Request $request)
{
parent::__construct($request);
$this->logic = new ManageEntryPositionLogic();
}
/**
* @remark :列表数据
* @name :lists
* @author :lyh
* @method :post
* @time :2025/11/3 17:20
*/
public function lists()
{
$data = $this->logic->listEntryPosition();
$this->response('success',Code::SUCCESS,$data);
}
/**
* @remark :保存数据
* @name :save
* @author :lyh
* @method :post
* @time :2025/11/3 17:20
*/
public function save()
{
$data = $this->logic->saveEntryPosition();
$this->response('success',Code::SUCCESS,$data);
}
/**
* @remark :删除数据
* @name :del
* @author :lyh
* @method :post
* @time :2025/11/3 17:20
*/
public function del()
{
$data = $this->logic->delEntryPosition();
$this->response('success',Code::SUCCESS,$data);
}
}