|
@@ -552,9 +552,9 @@ func (this *CourseManage) CreateOnLineApi() {
|
|
|
}*/
|
|
|
if videoUrl != "" {
|
|
|
//生成访问地址
|
|
|
- b, _ := cutil.SetTxVideoRedis(videoUrl)
|
|
|
+ b, st := cutil.SetTxVideoRedis(videoUrl)
|
|
|
if b == false{
|
|
|
- return &FuncResult{false, errors.New(fmt.Sprintf("%s", "视频地址生成失败")), nil}
|
|
|
+ return &FuncResult{false, errors.New(fmt.Sprintf("%s", st)), nil}
|
|
|
}
|
|
|
}
|
|
|
publishtime, err := time.ParseInLocation(qutil.Date_Full_Layout, s_publishtime, time.Local)
|