Commit b9cab51a by dong

fix20230404

parent e861b783
......@@ -4,7 +4,7 @@ from apps.models import *
from sqlalchemy import extract, or_, and_
from apps.util import login_required, create_token, verify_token
from apps.utils.response_code import RET
# from datetime import datetime
from datetime import datetime
import datetime
from apps import db, constants, redis_store
......@@ -531,7 +531,7 @@ def consultation_list():
"flag": cons_obj.flag,
"reply_content": cons_obj.reply_content,
"consultation_time": cons_obj.consultation_time,
# "reply_time": cons_obj.reply_time,
"reply_time": cons_obj.reply_time,
} for cons_obj in cons_obj_list]
data = sorted(data, key=lambda x: x['consultation_time'], reverse=True)
except Exception as e:
......
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