|
@@ -103,6 +103,7 @@ class FeedBackView(View):
|
|
|
os_version = request_dict.get('os_version', None)
|
|
|
uid = request_dict.get('uid', None)
|
|
|
product_type = request_dict.get('product_type', None)
|
|
|
+ app_version = request_dict.get('app_version', None)
|
|
|
|
|
|
try:
|
|
|
with transaction.atomic():
|
|
@@ -122,6 +123,8 @@ class FeedBackView(View):
|
|
|
fb.uid = uid
|
|
|
if product_type:
|
|
|
fb.product_type = product_type
|
|
|
+ if app_version:
|
|
|
+ fb.app_version = app_version
|
|
|
fb.userID_id = userID
|
|
|
fb.save()
|
|
|
if res_1:
|
|
@@ -195,7 +198,7 @@ class FeedBackView(View):
|
|
|
count = fb_qs.count()
|
|
|
fb_qs = fb_qs[(page - 1) * line:page * line].values('id', 'type', 'status', 'content', 'addTime', 'app',
|
|
|
'uid', 'os_version', 'phone_model', 'product_type',
|
|
|
- 'updTime', 'userID__username')
|
|
|
+ 'updTime', 'userID__username','app_version')
|
|
|
sid_list = []
|
|
|
print(fb_qs)
|
|
|
for fb in fb_qs:
|