|
|
@@ -53,9 +53,8 @@ class GhsController extends BaseController
|
|
|
$hasGhs = GhsClass::getByCondition(['ownShopId' => $this->shopId, 'shopId' => $currentShopId], true);
|
|
|
if (!empty($hasGhs)) {
|
|
|
$name = $hasGhs->name ?? '';
|
|
|
- util::fail("此手机和供应商【{$name}】您已添加过了");
|
|
|
+ util::fail("手机已添加过了,供应商名称:【{$name}】");
|
|
|
}
|
|
|
-
|
|
|
$ghs = GhsClass::build($currentShopId, $shopId, 1);
|
|
|
$ghs['avatar'] = imgUtil::groupImg($ghs['avatar']);
|
|
|
$transaction->commit();
|