@@ -109,6 +109,10 @@ class list_path(Load):
@Web.setting
def get(self):
self.data['list'] = self.service('common').list('device_gateway', search={'farm_id': Demeter.config['setting']['farm']})
+ self.data['pic'] = []
+ pic = self.service('common').list('device_info', state=True, search={'hardware_type':6, 'farm_id':Demeter.config['setting']['farm']})
+ if pic:
+ self.data['pic'] = pic
self.out('yes', self.data)
class stat_path(Load):