浏览代码

添加返回订单类型字段

guanhailong 2 年之前
父节点
当前提交
11643da138
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      AdminController/ServeManagementController.py

+ 2 - 1
AdminController/ServeManagementController.py

@@ -653,7 +653,8 @@ class serveManagement(View):
                 "payType",
                 "rank__day",
                 "rank__price",
-                "status")
+                "status",
+                "order_type")
             order_ql = order_ql.order_by('-addTime')  # 根据CDK创建时间降序排序
             order_ql = order_ql[(page - 1) * line:page * line]
             return response.json(