|
|
@@ -20,8 +20,8 @@ class HdController extends BaseController
|
|
|
if (empty($hd)) {
|
|
|
util::fail('没有花店信息');
|
|
|
}
|
|
|
- if ($hd['shopId'] != $this->shopId) {
|
|
|
- util::fail('花店信息缺失');
|
|
|
+ if ($hd['userId'] != $this->userId) {
|
|
|
+ util::fail('不是你的店');
|
|
|
}
|
|
|
$shortAvatar = !empty($val['avatar']) ? $val['avatar'] : 'hhb_small.png';
|
|
|
$smallAvatar = imgUtil::groupImg($shortAvatar) . "?x-oss-process=image/resize,m_fill,h_130,w_130";
|