shish 4 лет назад
Родитель
Сommit
adc3a03b9f
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      app-ghs/controllers/GhsController.php

+ 1 - 2
app-ghs/controllers/GhsController.php

@@ -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();