|
@@ -85,6 +85,7 @@ func autoAuth(uid, uname, s_avatar, entid, promotion_id string) {
|
|
|
if len(s_action) == 2 { //已经认证过
|
|
|
return
|
|
|
}
|
|
|
+ fmt.Println("222222222222222222222", s_action)
|
|
|
entName := ObjToString((*ent)["EntName"])
|
|
|
email := ObjToString((*ent)["Nb_email"])
|
|
|
t := time.Now().Local().Unix()
|
|
@@ -146,7 +147,7 @@ func autoAuth(uid, uname, s_avatar, entid, promotion_id string) {
|
|
|
})
|
|
|
}, func(e interface{}) {})
|
|
|
|
|
|
- Update("enterprise", `{"_id":"`+entid+`"}`, `{'$set':{'s_action':'01','s_avatar':'`+s_avatar+`'}}`, false, false)
|
|
|
+ Update("enterprise", `{"_id":"`+entid+`"}`, `{'$set':{'s_action':'01','s_avatar':'`+s_avatar+`','s_submitid':'`+uid+`'}}`, false, false)
|
|
|
elastic.UpdateEntDoc(entid)
|
|
|
redis.Del("enterprise", "enterpriseInfo_"+entid, "enterpriseInfo_user_"+entid)
|
|
|
}()
|
|
@@ -802,7 +803,6 @@ func (m *Member) CheckConMail() error {
|
|
|
pk := "1"
|
|
|
r := *FindOne("enterprise", M{"Nb_email": smail})
|
|
|
if len(r) > 0 {
|
|
|
- fmt.Println("smail::::", smail)
|
|
|
ac = ObjToString(r["s_action"])
|
|
|
if ac == "" {
|
|
|
EntName = r["EntName"].(string)
|