Commit 51c7da6e authored by lixiaofang's avatar lixiaofang

add

parent fdcf5e31
......@@ -110,7 +110,7 @@ def get_cookies(user_id):
return json.loads(data)
except:
logging.error("catch exception,get_majia:%s" % traceback.format_exc())
return None
......@@ -118,6 +118,7 @@ def login():
try:
user_id = get_majia()
logging.info("get user_id:%s" % user_id)
cookies = get_cookies(user_id)
if cookies is not None:
......
......@@ -4,8 +4,8 @@ import logging
import json
from libs.cache import redis_client
login_url = "http://earth.iyanzhi.com/api/account/login_pwd"
# login_url = "http://earth.iyanzhi.com/api/account/login_pwd"
login_url = "http://earth.gmapp.env/api/account/login_pwd"
def index_first():
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment