Browse Source

wip:采购单位问题处理

wangkaiyue 2 years ago
parent
commit
abc4222af9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/model/question.go

+ 1 - 1
internal/model/question.go

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