自动trim节目内容

This commit is contained in:
Jerry Yan 2022-09-09 10:45:29 +08:00
parent 712244e0a3
commit dae285566e
Signed by: q792602257
GPG Key ID: D070F653AF6C0004

View File

@ -92,7 +92,7 @@ class ProgramConstructController extends BaseController
$time = "0:".$time;
}
$program = new Programs();
$program->name = $match["content"];
$program->name = trim($match["content"]);
$video_pivot = new ProgramVideos();
$video_pivot->video_bvid = $bvid;
$video_pivot->start_part = $match["part"];