Browse Source

pasture: 集团账号下发

Yi 1 year ago
parent
commit
744a932c00
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/pasture.go

+ 1 - 1
models/pasture.go

@@ -21,7 +21,7 @@ func (p *Pasture) TableName() string {
 func NewPasture(pastureId int64, pastureName, address, managerUser, phone string) *Pasture {
 	return &Pasture{
 		PastureId:   pastureId,
-		PastureCode: "",
+		PastureCode: pastureName,
 		PastureName: pastureName,
 		GroupsId:    0,
 		User:        managerUser,