|
@@ -123,9 +123,14 @@ public class KuaishouProjectVideoGetController {
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping(value = "/offShelfVideo")
|
|
|
- public Result<Object> offShelfVideo(KuaishouProjectVideoGet videoGet) {
|
|
|
+ public Result<Object> offShelfVideo(String id) {
|
|
|
try {
|
|
|
+ if (Check.isNull(id)) {
|
|
|
+ return Result.error("缺失参数");
|
|
|
+ }
|
|
|
+ KuaishouProjectVideoGet videoGet = new KuaishouProjectVideoGet();
|
|
|
videoGet.setStatus(1);
|
|
|
+ videoGet.setId(id);
|
|
|
kuaishouProjectVideoGetService.updateById(videoGet);
|
|
|
return Result.ok("success");
|
|
|
} catch (Exception e) {
|