Browse Source

no message

xingzai 2 năm trước cách đây
mục cha
commit
05acb1d0b1
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      services/activity_points.go

+ 3 - 1
services/activity_points.go

@@ -857,7 +857,9 @@ func YanXuanCompanyCompanyTryOutReduce(log models.YanXuanActivityPointsRedis) (e
 		err = errors.New("GetCompanyPoints, Err: " + e.Error())
 		return
 	}
-
+	if companyPointsNum == 0 {
+		return
+	}
 	//获取需要添加的流水信息
 	var items []*models.CygxActivityPointsBill
 	item := new(models.CygxActivityPointsBill)