|
@@ -918,7 +918,7 @@ class GeWeChatCom: |
|
|
|
|
|
|
|
|
def save_login_wx_captch_code_to_cache(self,token_id,captch_code): |
|
|
def save_login_wx_captch_code_to_cache(self,token_id,captch_code): |
|
|
hash_key = f"__AI_OPS_WX__:WXCAPTCHCODE:{token_id}" |
|
|
hash_key = f"__AI_OPS_WX__:WXCAPTCHCODE:{token_id}" |
|
|
redis_helper.redis_helper.set_hash(hash_key,{"data":captch_code},10) |
|
|
|
|
|
|
|
|
redis_helper.redis_helper.set_hash(hash_key,{"data":captch_code},15) |
|
|
|
|
|
|
|
|
def get_login_wx_captch_code_to_cache(self,token_id)->str: |
|
|
def get_login_wx_captch_code_to_cache(self,token_id)->str: |
|
|
hash_key = f"__AI_OPS_WX__:WXCAPTCHCODE:{token_id}" |
|
|
hash_key = f"__AI_OPS_WX__:WXCAPTCHCODE:{token_id}" |
|
|