|
|
@@ -1043,7 +1043,7 @@ def member_activity_contribute_welfare_update(request, administrator):
|
1043
|
1043
|
welfare_type = int(request.POST.get('welfare_type', 0))
|
1044
|
1044
|
welfare_title = request.POST.get('welfare_title', '')
|
1045
|
1045
|
welfare_detail = request.POST.get('welfare_detail', '')
|
1046
|
|
- welfare_value = request.POST.get('welfare_value', '')
|
|
1046
|
+ welfare_value = request.POST.get('welfare_value', 0)
|
1047
|
1047
|
welfare_image_path = request.POST.get('welfare_image_path', '')
|
1048
|
1048
|
|
1049
|
1049
|
try:
|
|
|
@@ -1068,7 +1068,7 @@ def member_activity_contribute_welfare_create(request, administrator):
|
1068
|
1068
|
welfare_type = int(request.POST.get('welfare_type', 0))
|
1069
|
1069
|
welfare_title = request.POST.get('welfare_title', '')
|
1070
|
1070
|
welfare_detail = request.POST.get('welfare_detail', '')
|
1071
|
|
- welfare_value = request.POST.get('welfare_value', '')
|
|
1071
|
+ welfare_value = request.POST.get('welfare_value', 0)
|
1072
|
1072
|
welfare_image_path = request.POST.get('welfare_image_path', None)
|
1073
|
1073
|
|
1074
|
1074
|
MemberActivityContributionWelfareInfo.objects.create(
|