sun-pc-linux 6 months ago
parent
commit
26d14acbb4
2 changed files with 4 additions and 3 deletions
  1. 3 2
      src/db/model/examHistory.go
  2. 1 1
      src/url

+ 3 - 2
src/db/model/examHistory.go

@@ -7,8 +7,9 @@ import (
 )
 
 type ExamHistory struct {
-	Id     primitive.ObjectID `bson:"_id,omitempty" json:"_id"`
-	UserId string             `bson:"userId,omitempty" json:"userId"`
+	Id          primitive.ObjectID `bson:"_id,omitempty" json:"_id"`
+	UserId      string             `bson:"userId,omitempty" json:"userId"`
+	ProduceName string             `bson:"produceName,omitempty" json:"produceName"`
 	// $title:正确/错误
 	ExamRecord []*Record `bson:"examRecord,omitempty" json:"examRecord"`
 	TotalScore int       `bson:"totalScore,omitempty" json:"totalScore"`

+ 1 - 1
src/url

@@ -1 +1 @@
-45.152.67.125
+172.31.69.25