|
@@ -331,14 +331,14 @@ func LastTimeCoop(buyerId, ent, stype string) (bool, int64) {
|
|
|
|
|
|
//
|
|
|
func LastTimeCoopBath(positionId int64, buyerIds, winners, agencys []string) (map[string]map[string]*Cooperate, map[string]map[string]*Cooperate) {
|
|
|
- if len(buyerIds) > 10 {
|
|
|
- buyerIds = buyerIds[:10]
|
|
|
+ if len(buyerIds) > 50 {
|
|
|
+ buyerIds = buyerIds[:50]
|
|
|
}
|
|
|
- if len(winners) > 10 {
|
|
|
- winners = winners[:10]
|
|
|
+ if len(winners) > 50 {
|
|
|
+ winners = winners[:50]
|
|
|
}
|
|
|
if len(agencys) > 10 {
|
|
|
- agencys = agencys[:10]
|
|
|
+ agencys = agencys[:50]
|
|
|
}
|
|
|
adiffb, agency := map[string]map[string]*Cooperate{}, map[string]map[string]*Cooperate{}
|
|
|
if len(buyerIds) == 0 {
|