Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
2c877162
Commit
2c877162
authored
Jun 11, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企微托管账号
parent
5d315cb8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletions
+16
-1
OpenStaffDTO.java
...main/java/com/gic/haoban/manage/api/dto/OpenStaffDTO.java
+9
-0
QywxCallbackController.java
.../haoban/manage/web/controller/QywxCallbackController.java
+7
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/OpenStaffDTO.java
View file @
2c877162
...
...
@@ -16,6 +16,7 @@ public class OpenStaffDTO implements Serializable {
* 企微id
*/
private
String
wxEnterpriseId
;
private
String
enterpriseId
;
/**
* 成员id
...
...
@@ -107,6 +108,14 @@ public class OpenStaffDTO implements Serializable {
*/
private
static
final
long
serialVersionUID
=
1L
;
public
String
getEnterpriseId
()
{
return
enterpriseId
;
}
public
void
setEnterpriseId
(
String
enterpriseId
)
{
this
.
enterpriseId
=
enterpriseId
;
}
public
Integer
getValidQrcodeFlag
()
{
return
validQrcodeFlag
;
}
...
...
haoban-manage3-operation-web/src/main/java/com/gic/haoban/manage/web/controller/QywxCallbackController.java
View file @
2c877162
...
...
@@ -83,7 +83,13 @@ public class QywxCallbackController extends WebBaseController {
private
void
chat
(
String
uuid
,
JSONObject
json
)
{
logger
.
info
(
"消息"
);
this
.
openQwApiService
.
saveChatLog
(
json
.
getLong
(
"sender"
),
json
.
getLong
(
"receiver"
),
json
.
getString
(
"content"
),
1
)
;
int
msgtype
=
json
.
getIntValue
(
"msgtype"
)
;
if
(
msgtype
==
2
)
{
msgtype
=
2
;
}
else
{
msgtype
=
1
;
}
this
.
openQwApiService
.
saveChatLog
(
json
.
getLong
(
"sender"
),
json
.
getLong
(
"receiver"
),
json
.
getString
(
"content"
),
msgtype
)
;
}
private
void
v100012
(
String
uuid
,
JSONObject
json
)
{
...
...
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