\Api\InterfaceApi\v1DemoApi

演示,测试专用

Summary

Methods
Properties
Constants
__construct()
getUserList()
getDeptList()
No public properties found
No constants found
No protected methods found
$user
$dept
N/A
No private methods found
No private properties found
N/A

Properties

$user

$user : \App\System\Mapper\SystemUserMapper

Type

\App\System\Mapper\SystemUserMapper

$dept

$dept : \App\System\Mapper\SystemDeptMapper

Type

\App\System\Mapper\SystemDeptMapper

Methods

__construct()

__construct(\App\System\Mapper\SystemUserMapper  $user, \App\System\Mapper\SystemDeptMapper  $dept) 

DemoApi constructor.

Parameters

\App\System\Mapper\SystemUserMapper $user
\App\System\Mapper\SystemDeptMapper $dept

getUserList()

getUserList() : array

获取用户列表接口

Returns

array

getDeptList()

getDeptList() : array

获取部门列表接口

Returns

array