소스 검색

pasture: 集团账号下发

Yi 1 년 전
부모
커밋
744a932c00
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,