Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
ZeusHub
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘梓豪
ZeusHub
Commits
2cfa66c8
Commit
2cfa66c8
authored
Jan 04, 2023
by
潘梓豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新api
parent
ef4dc5e8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
120 additions
and
11 deletions
+120
-11
ApiController.php
modules/zeus_hub/src/Controller/ApiController.php
+102
-11
zeus_hub.routing.yml
modules/zeus_hub/zeus_hub.routing.yml
+18
-0
No files found.
modules/zeus_hub/src/Controller/ApiController.php
View file @
2cfa66c8
This diff is collapsed.
Click to expand it.
modules/zeus_hub/zeus_hub.routing.yml
View file @
2cfa66c8
...
...
@@ -97,6 +97,24 @@ zeus_hub.getOrderListByUser:
requirements
:
_access
:
'
TRUE'
# 获取企业列表
zeus_hub.getEnterpriseList
:
path
:
'
zeus/zeushub/getEnterpriseList'
defaults
:
_controller
:
'
Drupal\zeus_hub\Controller\ApiController::getEnterpriseList'
_title
:
'
getEnterpriseList'
requirements
:
_access
:
'
TRUE'
# 获取设备列表
zeus_hub.getComputerList
:
path
:
'
zeus/zeushub/getComputerList'
defaults
:
_controller
:
'
Drupal\zeus_hub\Controller\ApiController::getComputerList'
_title
:
'
getComputerList'
requirements
:
_access
:
'
TRUE'
#更新密码
zeus_hub.upUsers
:
path
:
'
zeus/zeushub/upUsers'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment