Browse Source

Merge remote-tracking branch 'remotes/origin/bin' into dev

Ansjer 4 năm trước cách đây
mục cha
commit
e3347041c6
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      Controller/PcInfo.py

+ 3 - 0
Controller/PcInfo.py

@@ -132,6 +132,7 @@ class PcInfo(View):
                 res = {'pc_name': '',
                        'new_version': '',
                        'is_update': i,
+                       'explain': '',
                        'path': '',
                        'response_url': ''}
                 version_list.append(res)
@@ -146,6 +147,7 @@ class PcInfo(View):
                 res = {'pc_name': '',
                        'new_version': '',
                        'is_update': app_list.filter(pc_version=new_version).values('is_update')[0]['is_update'],
+                       'explain': '',
                        'path': '',
                        'response_url': ''}
                 version_list.append(res)
@@ -158,6 +160,7 @@ class PcInfo(View):
             res = {'pc_name': pc_name,
                    'new_version': new_version,
                    'is_update': app_list.filter(pc_version=new_version).values('is_update')[0]['is_update'],
+                   'explain': app_list.filter(pc_version=new_version).values('explain')[0]['explain'],
                    'path': path,
                    'response_url': response_url}
             version_list.append(res)