|
@@ -44,7 +44,7 @@ class GhsController extends BaseController
|
|
|
if (!empty($has)) {
|
|
if (!empty($has)) {
|
|
|
util::fail('您已经绑定这个供货商了');
|
|
util::fail('您已经绑定这个供货商了');
|
|
|
}
|
|
}
|
|
|
- $list = ShopClass::getAllByCondition(['merchantId' => $ownSjId, 'delStatus' => 0]);
|
|
|
|
|
|
|
+ $list = ShopClass::getAllByCondition(['merchantId' => $ownSjId, 'delStatus' => 0], null, '*');
|
|
|
if (empty($list)) {
|
|
if (empty($list)) {
|
|
|
util::fail('没有找到门店');
|
|
util::fail('没有找到门店');
|
|
|
}
|
|
}
|