Browse Source

feat: 邮箱

zhangxinlei1996 1 year ago
parent
commit
83fa375078
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/jfw/modules/subscribepay/src/service/userAccountInfo.go

+ 3 - 1
src/jfw/modules/subscribepay/src/service/userAccountInfo.go

@@ -124,8 +124,10 @@ func (this *UserAccount) GetAccountInfo() {
 		_, otherMail := dataexport.GetLastExportPhoneAndMail(util.Mysql, userId, qutil.ObjToString(this.GetSession("entUserId")))
 		if otherMail == "" {
 			saleData, _ := util.MQFW.FindOne("saleLeads", map[string]interface{}{
-				"source": "certificateServices-pc-biddingDetailPage-content",
 				"userid": this.GetSession("userId"),
+				"mail": map[string]interface{}{
+					"$exists": true,
+				},
 			})
 			if saleData != nil && len(*saleData) > 0 {
 				otherMail = qutil.ObjToString((*saleData)["mail"])