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