修改删除逻辑,添加逻辑删除回归
This commit is contained in:
parent
a803991a42
commit
31ef5ee93b
|
|
@ -92,6 +92,7 @@ func QuashVideo(user int, data map[string]interface{}) (int, string) {
|
||||||
if res == 0 {
|
if res == 0 {
|
||||||
msg = strconv.Itoa(video_id) + " rollback video error"
|
msg = strconv.Itoa(video_id) + " rollback video error"
|
||||||
} else {
|
} else {
|
||||||
|
res = 0
|
||||||
msg = "success"
|
msg = "success"
|
||||||
}
|
}
|
||||||
case "delay":
|
case "delay":
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue