1
This commit is contained in:
@@ -11,6 +11,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
use support\exception\BusinessException;
|
||||
use support\Db;
|
||||
use app\mzl\modules\translation\service\TranslationService;
|
||||
use support\Log;
|
||||
|
||||
class BrandService extends BaseService
|
||||
{
|
||||
@@ -166,6 +167,7 @@ class BrandService extends BaseService
|
||||
Db::beginTransaction();
|
||||
try {
|
||||
$info = $this->update($id, $params);
|
||||
log::info($info);
|
||||
if (!$info) {
|
||||
throw new BusinessException('提交失败');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user