Эх сурвалжийг харах

wip:采购单位问题处理

wangkaiyue 2 жил өмнө
parent
commit
abc4222af9

+ 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