Commit fb5b3538 authored by lixiaofang's avatar lixiaofang

add

parent 57387787
...@@ -118,7 +118,9 @@ def login(): ...@@ -118,7 +118,9 @@ def login():
try: try:
user_id = get_majia() user_id = get_majia()
logging.info("get user_id:%s" % user_id) logging.info("get user_id:%s" % user_id)
cookies = get_cookies(user_id) cookies = get_cookies(user_id)
cookies = "vb10zwffyobixhz1m9k8330w48ftnk1n"
if cookies is not None: if cookies is not None:
return {'sessionid': cookies} return {'sessionid': cookies}
...@@ -132,7 +134,7 @@ def login(): ...@@ -132,7 +134,7 @@ def login():
def logins(user_id): def logins(user_id):
try: try:
cookies = get_cookies(user_id) cookies = get_cookies(user_id)
cookies = "vb10zwffyobixhz1m9k8330w48ftnk1n"
if cookies is not None: if cookies is not None:
return {'sessionid': cookies} return {'sessionid': cookies}
......
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