wcj %!s(int64=5) %!d(string=hai) anos
pai
achega
faceeabd54
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      common/src/qfw/util/jy/jy.go

+ 1 - 1
common/src/qfw/util/jy/jy.go

@@ -183,7 +183,7 @@ func SendPhoneIdentCode(phone string, session *httpsession.Session) bool {
 
 //短信验证码校验
 func CheckPhoneIdent(session *httpsession.Session, code string) bool {
-	identCodeKey, _ := session.Get("identCodeKey").(string)
+	identCodeKey, _ := session.Get("identCodeValue").(string)
 	if identCodeKey != "" && identCodeKey == code {
 		ClearPhoneIdentSession(session)
 		return true