|
@@ -173,9 +173,9 @@ class AppInfo(View):
|
|
|
res = queryset[(page - 1) * line:page * line]
|
|
|
send_json = CommonService.qs_to_dict(res)
|
|
|
for k, v in enumerate(send_json["datas"]):
|
|
|
- if send_json['datas'][k]['img']:
|
|
|
- img = SERVER_DOMAIN + 'sysfile/' + send_json['datas'][k]['img']
|
|
|
- send_json["datas"][k]['img'] = img
|
|
|
+ if send_json['datas'][k]['fields']['img']:
|
|
|
+ img = SERVER_DOMAIN + 'sysfile/' + send_json['datas'][k]['fields']['img']
|
|
|
+ send_json["datas"][k]['fields']['img'] = img
|
|
|
send_json['count'] = count
|
|
|
return response.json(0, send_json)
|
|
|
return response.json(0)
|