|
@@ -75,7 +75,7 @@ class My extends Core
|
|
|
|
|
|
public function setShop()
|
|
|
{
|
|
|
- $id = Dever::input('id');
|
|
|
+ $id = Dever::input('id', $this->uid);
|
|
|
$shop_id = Dever::input('shop_id');
|
|
|
$this->data['info'] = Dever::db('agent/member')->find($id);
|
|
|
if ($this->data['info'] && $this->data['info']['idcard'] == $this->user['idcard']) {
|