新增获取部门架构
This commit is contained in:
parent
8a1cb521d0
commit
c16a8cc7b8
|
@ -18,6 +18,11 @@ use think\facade\Db;
|
|||
|
||||
class UserDepartment extends ApiController
|
||||
{
|
||||
|
||||
protected $middleware = [
|
||||
Auth::class => ['except' => []]
|
||||
];
|
||||
|
||||
public function index()
|
||||
{
|
||||
$cate = Db::name('Department')
|
||||
|
|
Loading…
Reference in New Issue