This commit is contained in:
苏尹岚
2021-04-06 10:50:36 +08:00
parent 20b14bcb86
commit d5a5a259e7

View File

@@ -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)
}
}
}
}