update member_activity_create

FFIB 2 years ago
parent
commit
aba4165547
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/admin_views.py

+ 1 - 1
api/admin_views.py

@@ -1097,7 +1097,7 @@ def member_activity_create(request):
1097 1097
     location = request.POST.get('location', '')
1098 1098
     integral = int(request.POST.get('integral', 0))
1099 1099
     is_slider = request.POST.get('is_slider', '')
1100
-    slider_image_path = request.POST.get('banner_path', '')
1100
+    slider_image_path = request.POST.get('banner_path', '') or request.POST.get('slider_image_path', '') 
1101 1101
     cover_path = request.POST.get('cover_path', '')
1102 1102
     # image_path = request.POST.get('image_path', '') or request.POST.get('banner_path', '')
1103 1103
     limit_image_num = int(request.POST.get('limit_image_num', 3))