Browse Source

添加返回用户信息注册时间

linhaohong 11 tháng trước cách đây
mục cha
commit
4ebe4c3a26
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      Controller/CampaignController/AdDepartmentController.py

+ 1 - 0
Controller/CampaignController/AdDepartmentController.py

@@ -96,6 +96,7 @@ class AdDepartmentView(View):
                     "username": user.username,
                     "email": user.userEmail,
                     "phone": user.phone,
+                    "registrationTime": user.data_joined,
                     "devices": device_list
                 })