Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
push-message
Project
Project
Details
Activity
Releases
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
liucheng
push-message
Commits
6ff56128
Commit
6ff56128
authored
Jul 27, 2022
by
renandong
🇨🇳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1,群推加入日志
parent
a9ed2de4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
PushController.java
src/main/java/com/weface/controller/PushController.java
+4
-0
No files found.
src/main/java/com/weface/controller/PushController.java
View file @
6ff56128
package
com
.
weface
.
controller
;
import
com.alibaba.fastjson.JSONObject
;
import
com.weface.code.CommonResult
;
import
com.weface.common.utils.Constant
;
import
com.weface.common.validator.ValidatorParam
;
...
...
@@ -10,6 +11,7 @@ import com.weface.dto.InformForm;
import
com.weface.dto.MsgDTO
;
import
com.weface.dto.PushDTO
;
import
com.weface.service.PushService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
...
...
@@ -19,6 +21,7 @@ import org.springframework.web.bind.annotation.RestController;
/**
* @author Administrator
*/
@Slf4j
@RestController
@RequestMapping
(
"push"
)
public
class
PushController
{
...
...
@@ -42,6 +45,7 @@ public class PushController {
@PostMapping
(
"/all"
)
public
CommonResult
pushAll
(
InformForm
informForm
)
{
log
.
error
(
"群推内容:{}"
,
JSONObject
.
toJSONString
(
informForm
));
ValidatorUtils
.
validateEntity
(
informForm
,
InformForm
.
PushValid
.
class
);
if
(
informForm
.
getEquipmentType
().
equals
(
"kksh"
))
{
...
...
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