|
|
@ -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 { |
|
|
|