diff --git a/business/jxstore/act/act.go b/business/jxstore/act/act.go index 1fb48b3f3..75f061fc4 100644 --- a/business/jxstore/act/act.go +++ b/business/jxstore/act/act.go @@ -1806,8 +1806,10 @@ func GetNewVendorPopActs(ctx *jxcontext.Context) (err error) { for _, vv := range cList { if vv != nil { result, _ := api.MtwmAPI.GetInviteDetail(vv.ID, v.VendorStoreID) - if result.Status != 2 { - send(model.VendorIDMTWM, vv.Name, result.BriefIntroduction) + if result != nil { + if result.Status != 2 { + send(model.VendorIDMTWM, vv.Name, result.BriefIntroduction) + } } } }