Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
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
quanku
qk_backend
Commits
2e32d7a2
Commit
2e32d7a2
authored
Nov 11, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3.4
parent
ffff9a99
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
0 deletions
+27
-0
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SpecialPerformanceServiceImpl.java
...h/wx/impl/distribution/SpecialPerformanceServiceImpl.java
+11
-0
ch-wx-api/src/main/java/com/wwdz/ch/wx/service/distribution/SpecialPerformanceService.java
...ch/wx/service/distribution/SpecialPerformanceService.java
+3
-0
ch-wx-api/src/main/java/com/wwdz/ch/wx/web/distribution/SpecialPerformanceController.java
.../ch/wx/web/distribution/SpecialPerformanceController.java
+13
-0
No files found.
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SpecialPerformanceServiceImpl.java
View file @
2e32d7a2
...
...
@@ -657,6 +657,17 @@ public class SpecialPerformanceServiceImpl implements SpecialPerformanceService
}
return
Result
.
failed
();
}
@Override
public
Result
videoConfig
(
String
video
)
{
try
{
return
Result
.
success
();
}
catch
(
Exception
e
)
{
logger
.
error
(
"配置专场视频失败 error {}"
,
e
);
}
return
Result
.
failed
();
}
}
ch-wx-api/src/main/java/com/wwdz/ch/wx/service/distribution/SpecialPerformanceService.java
View file @
2e32d7a2
...
...
@@ -34,6 +34,9 @@ public interface SpecialPerformanceService {
*/
Result
offShelvesItemOfSpecialPerformance
(
int
specialPerformanceId
);
Result
videoConfig
(
String
video
);
/**
* 手动发送专场进行中短信给用户
* @return
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/web/distribution/SpecialPerformanceController.java
View file @
2e32d7a2
...
...
@@ -85,6 +85,19 @@ public class SpecialPerformanceController {
@ApiOperation
(
value
=
"专场配置视频"
)
@GetMapping
(
"/videoConfig"
)
public
Result
videoConfig
(
@RequestParam
(
"id"
)
String
id
,
@RequestParam
(
"videoId"
)
String
videoId
,
@RequestParam
(
"key"
)
String
key
)
{
logger
.
info
(
">>>>>>>>>>> 专场配置视频 <<<<<<<<<<<<<"
);
if
(
StringUtils
.
isEmpty
(
videoId
)
||
!
SECRET
.
equals
(
key
))
{
return
Result
.
failed
(
ResultCode
.
PARAM_ERROR
);
}
return
specialPerformanceService
.
videoConfig
(
videoId
);
}
@ApiOperation
(
value
=
"发送专场进行中短信给用户"
)
@GetMapping
(
"/sendMsg"
)
public
Result
sendMsg
(
@RequestParam
(
"key"
)
String
key
)
{
...
...
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