1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| <?php
|
| namespace app\api\controller\branch\admin;
|
| use app\api\controller\branch\Admin;
| use app\api\service\branch\BranchService;
|
| /**
| * 分会控制器
| */
| class Index extends Admin
| {
| public function index()
| {
| $service = new BranchService($this->branch['branch_id']);
| return $this->renderSuccess('', ['data' => $service->getHomeData(), 'branch' => $this->branch]);
| }
| }
|
|