xingzai 2 жил өмнө
parent
commit
029c1c5cd2
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      services/htgj.go

+ 1 - 1
services/htgj.go

@@ -206,7 +206,7 @@ func CheckHtgj(companyCodeHt, companyNameHt, email, sign string) (errMsg string,
 	countUser, err := models.GetUserCountByThirdName(int(companyId), wxuUserName)
 	if countUser == 0 {
 
-		countCompanyUser, err := models.GetUserCountByThirdName(int(companyId), wxuUserName)
+		countCompanyUser, err := models.GetUserCountByCompanyId(int(companyId))
 		if err != nil {
 			errHt = err
 			return