2du 4 лет назад
Родитель
Сommit
af0ec3c1d2
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      route/api_user_info.py
  2. 1 1
      route/tool/func.py

+ 1 - 1
route/api_user_info.py

@@ -29,7 +29,7 @@ def api_user_info(name = ''):
                 else:
                     data_result[user_name]['auth'] = 0
                     
-                curs.execute(db_change("select title from data where title = ?"), [user_name])
+                curs.execute(db_change("select title from data where title = ?"), ['user:' + user_name])
                 if curs.fetchall():
                     data_result[user_name]['document'] = 1
                 else:

+ 1 - 1
route/tool/func.py

@@ -91,7 +91,7 @@ global_wiki_set = {}
 
 global_db_set = ''
 
-data_css_ver = '123'
+data_css_ver = '124'
 data_css = ''
 
 conn = ''