diff --git a/README.md b/README.md index 6fb30a4ab7..0c8a459226 100644 --- a/README.md +++ b/README.md @@ -56,8 +56,16 @@ Domain Admin是一个轻量级监控方案,占用系统资源较少。同时 - 预览地址:[https://mouday.github.io/domain-admin-web/](https://mouday.github.io/domain-admin-web/) +本项目采用的是前后端分离模式,前端代码在另外一个仓库。 + 前端项目地址(请自行解码):aHR0cHM6Ly9naXRodWIuY29tL21vdWRheS9kb21haW4tYWRtaW4td2Vi +或者关注微信公众号: + + + +回复:`domain-admin-web`,获取完整的前端代码 + 2、移动端版: diff --git a/domain_admin/service/domain_info_service.py b/domain_admin/service/domain_info_service.py index 7c06f5e1b3..73190d3d3b 100644 --- a/domain_admin/service/domain_info_service.py +++ b/domain_admin/service/domain_info_service.py @@ -329,9 +329,9 @@ def get_ordering(order_prop='expire_days', order_type='ascending'): # order by domain_expire_days if order_prop == 'domain_expire_days': if order_type == 'descending': - ordering.append(DomainInfoModel.domain_expire_days.desc()) + ordering.append(DomainInfoModel.domain_expire_time.desc()) else: - ordering.append(DomainInfoModel.domain_expire_days.asc()) + ordering.append(DomainInfoModel.domain_expire_time.asc()) # order by domain elif order_prop == 'domain':