|
@@ -107,7 +107,7 @@ func getInfo(infoId string) (hasWinner, hasBuyer bool, infoTypes string) {
|
|
}
|
|
}
|
|
if res != nil && len(*res) > 0 {
|
|
if res != nil && len(*res) > 0 {
|
|
hasWinner = (*res)["winner"] != nil
|
|
hasWinner = (*res)["winner"] != nil
|
|
- hasBuyer = (*res)["winner"] != nil
|
|
|
|
|
|
+ hasBuyer = (*res)["buyer"] != nil
|
|
infoTypes = gconv.String((*res)["toptype"])
|
|
infoTypes = gconv.String((*res)["toptype"])
|
|
}
|
|
}
|
|
return
|
|
return
|