|
@@ -26,6 +26,12 @@ class Main extends Core
|
|
|
{
|
|
|
$id = Dever::input('id');
|
|
|
$this->data['shop'] = Dever::db('shop/info')->find($id);
|
|
|
+
|
|
|
+ if ($this->data['shop']) {
|
|
|
+ unset($this->data['shop']['goods']);
|
|
|
+ unset($this->data['shop']['factory']);
|
|
|
+ unset($this->data['shop']['store']);
|
|
|
+ }
|
|
|
return $this->data;
|
|
|
}
|
|
|
|