...
|
...
|
@@ -686,6 +686,16 @@ class Store extends Api |
|
|
if(!in_array($v,$house_ids)) {
|
|
|
$this->error('包含未绑定的社区,请重新选择');
|
|
|
}
|
|
|
$where_store_house = [
|
|
|
'user_id' => $this->auth->id,
|
|
|
'store_id' => $store['id'],
|
|
|
'house_id' => $v,
|
|
|
'end_time' => ['>',time()]
|
|
|
];
|
|
|
$store_house = Db::name('store_house')->where($where_store_house)->find();
|
|
|
if(!$store_house) {
|
|
|
$this->error('部分社区已过期,请续费后操作');
|
|
|
}
|
|
|
}
|
|
|
$img_count = count(explode(',',$param['images']));
|
|
|
$video_count = !empty($param['video']) ? count(explode(',',$param['video'])) : 0;
|
...
|
...
|
|