Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
konke-ai-alibaba-mcp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
何金镒
konke-ai-alibaba-mcp
Commits
c81527b3
Commit
c81527b3
authored
Aug 28, 2025
by
何金镒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
场景 4
parent
30ae30a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/main/java/com/ikonke/konkeaialibabamcp/controller/DeviceController.java
...ikonke/konkeaialibabamcp/controller/DeviceController.java
+4
-5
No files found.
src/main/java/com/ikonke/konkeaialibabamcp/controller/DeviceController.java
View file @
c81527b3
...
@@ -63,11 +63,10 @@ public class DeviceController {
...
@@ -63,11 +63,10 @@ public class DeviceController {
}
}
@GetMapping
(
"/triggerScene"
)
@GetMapping
(
"/triggerScene"
)
public
String
triggerScene
(
@ToolParam
(
description
=
"主机号"
)
String
ccuName
,
public
String
triggerScene
(
@RequestParam
(
value
=
"ccuName"
)
String
ccuName
,
@ToolParam
(
description
=
"场景ID"
)
String
devId
,
@RequestParam
(
value
=
"sceneId"
)
String
sceneId
){
@ToolParam
(
description
=
"场景类型ID,type等于scene"
)
String
typeId
){
log
.
info
(
"triggerScene--->根据主机号和场景ID触发场景....ccuName:{},sceneId:{}"
,
ccuName
,
sceneId
);
log
.
info
(
"mcp调用--->根据主机号和场景ID触发场景....ccuName:{},devId:{},type:{}"
,
ccuName
,
devId
,
typeId
);
return
konkeIotServer
.
optScene
(
CcuUtils
.
getCcuName
(
ccuName
),
sceneId
);
return
konkeIotServer
.
optScene
(
CcuUtils
.
getCcuName
(
ccuName
),
devId
);
}
}
@PostMapping
(
"/saveTemporaryScene"
)
@PostMapping
(
"/saveTemporaryScene"
)
...
...
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