Commit 2e32d7a2 authored by shiyu's avatar shiyu

3.4

parent ffff9a99
...@@ -657,6 +657,17 @@ public class SpecialPerformanceServiceImpl implements SpecialPerformanceService ...@@ -657,6 +657,17 @@ public class SpecialPerformanceServiceImpl implements SpecialPerformanceService
} }
return Result.failed(); return Result.failed();
} }
@Override
public Result videoConfig(String video) {
try {
return Result.success();
} catch (Exception e) {
logger.error("配置专场视频失败 error {}", e);
}
return Result.failed();
}
} }
...@@ -34,6 +34,9 @@ public interface SpecialPerformanceService { ...@@ -34,6 +34,9 @@ public interface SpecialPerformanceService {
*/ */
Result offShelvesItemOfSpecialPerformance(int specialPerformanceId); Result offShelvesItemOfSpecialPerformance(int specialPerformanceId);
Result videoConfig(String video);
/** /**
* 手动发送专场进行中短信给用户 * 手动发送专场进行中短信给用户
* @return * @return
......
...@@ -85,6 +85,19 @@ public class SpecialPerformanceController { ...@@ -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 = "发送专场进行中短信给用户") @ApiOperation(value = "发送专场进行中短信给用户")
@GetMapping("/sendMsg") @GetMapping("/sendMsg")
public Result sendMsg(@RequestParam("key") String key) { public Result sendMsg(@RequestParam("key") String key) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment