Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
zhangshaowu
/
pipi-helper
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e835ec43
authored
Oct 15, 2022
by
weiss
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
8aeb1a30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
10 deletions
src/main/java/com/pipihelper/project/feishu/controller/FeiShuEventController.java
src/main/java/com/pipihelper/project/feishu/service/massage/MassageService.java
src/main/java/com/pipihelper/project/feishu/controller/FeiShuEventController.java
View file @
e835ec4
...
...
@@ -68,13 +68,15 @@ public class FeiShuEventController {
return
null
;
}
// @PostMapping("msg_card")
// public JSONObject msgCardEvent(@RequestBody String s) throws Exception {
// JSONObject reqJsonObject = JSON.parseObject(s);
// System.out.println(s);
// if (reqJsonObject.containsKey("challenge")) {
// return reqJsonObject;
// }
@PostMapping
(
"/msg_card"
)
public
JSONObject
msgCardEvent
(
@RequestBody
String
s
)
throws
Exception
{
JSONObject
reqJsonObject
=
JSON
.
parseObject
(
s
);
System
.
out
.
println
(
s
);
if
(
reqJsonObject
.
containsKey
(
"challenge"
))
{
return
reqJsonObject
;
}
return
null
;
}
// FeiShuMsgCardEventDTO feiShuMsgCardEventDTO = reqJsonObject.toJavaObject(FeiShuMsgCardEventDTO.class);
// String actionType = feiShuMsgCardEventDTO.getAction().getValue().getKey().split("\\.")[0];
// switch (actionType) {
...
...
@@ -83,8 +85,10 @@ public class FeiShuEventController {
//// default:
//// }
// }
//
// }
@PostMapping
(
"/employee-list"
)
public
Object
event
()
{
...
...
src/main/java/com/pipihelper/project/feishu/service/massage/MassageService.java
View file @
e835ec4
...
...
@@ -23,7 +23,7 @@ public class MassageService {
public
void
sendMassageMsgCardToPiPiChat
(){
public
void
sendMassageMsgCardToPiPiChat
(
List
<>
){
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment