...
|
...
|
@@ -146,7 +146,7 @@ class User extends Api |
|
|
}
|
|
|
}
|
|
|
$store = \app\api\model\Store::where('user_id',$this->auth->id)->order('id','DESC')->find();
|
|
|
if($store['status'] == 3) {
|
|
|
if($store && $store['status'] == 3) {
|
|
|
$where_house = [
|
|
|
'user_id' => $this->auth->id,
|
|
|
'store_id' => $store['id'],
|
...
|
...
|
|