diff --git a/controllers/client/sign.go b/controllers/client/sign.go index 0bb9b3e..89cec6a 100644 --- a/controllers/client/sign.go +++ b/controllers/client/sign.go @@ -26,7 +26,7 @@ func (t *SignCtl) CheckSign() { exist, err := live.GetByActivityId(activityId) t.CheckErr(err) t.Assert(exist, code.MSG_ACTIVITY_NOT_EXIST, "直播活动不存在") - if live.AdaptationFunc != nil { + if live.AdaptationFunc != nil && len(live.AdaptationFunc) != 0 { exist, err = new(models.ModuleServiceHistory).ExistSignModule(live.AdaptationFunc) t.CheckErr(err) if !exist {