shish hace 4 años
padre
commit
adc3a03b9f
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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();