|
@@ -253,11 +253,13 @@ class pic_path(Load):
|
|
|
def get(self):
|
|
|
id = self.input('id', None)
|
|
|
device = self.input('device', None)
|
|
|
- if id:
|
|
|
+ if device:
|
|
|
+ """
|
|
|
self.data['info'] = self.service('common').one('device_gateway', id=id)
|
|
|
if not self.data['info']:
|
|
|
self.out('no')
|
|
|
return
|
|
|
+ """
|
|
|
|
|
|
self.data['url'] = self.request.protocol + "://" + self.request.host + '/'
|
|
|
self.data['search_date'] = self.input('search_date')
|