|
@@ -1366,11 +1366,11 @@ class GoodsService
|
|
|
$model->goods_detail_content = $params['goods_detail_content'] ?? '';
|
|
|
if (!$model->save()) {
|
|
|
// 异常
|
|
|
- throw new BusinessException("数据写入失败~");
|
|
|
+ throw new BusinessException("轮播图/详情数据写入失败~");
|
|
|
}
|
|
|
} catch (\Exception $e) {
|
|
|
dump($e->getMessage());
|
|
|
- throw new BusinessException("数据写入失败~");
|
|
|
+ throw new BusinessException("轮播图/详情数据写入失败~");
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1493,7 +1493,7 @@ class GoodsService
|
|
|
$model->goods_sku_service_json = $params['goods_sku_service_json'];
|
|
|
$model->goods_sku_extend_json = $params['goods_sku_extend_json'];
|
|
|
if (!$model->save()) {
|
|
|
- throw new BusinessException('数据写入失败~');
|
|
|
+ throw new BusinessException('规格数据写入失败~');
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1729,7 +1729,7 @@ class GoodsService
|
|
|
throw new BusinessException($e->getMessage());
|
|
|
} catch (\Exception $e) {
|
|
|
dump($e->getMessage());
|
|
|
- throw new BusinessException('数据更新异常~2');
|
|
|
+ throw new BusinessException('轮播图/详情数据更新异常~');
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1818,7 +1818,7 @@ class GoodsService
|
|
|
throw new BusinessException($e->getMessage());
|
|
|
} catch (\Exception $e) {
|
|
|
dump($e->getMessage());
|
|
|
- throw new BusinessException('数据更新异常~4');
|
|
|
+ throw new BusinessException('数据更新异常~');
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1903,7 +1903,7 @@ class GoodsService
|
|
|
dump($e->getTrace());
|
|
|
Db::rollBack();
|
|
|
|
|
|
- throw new BusinessException('数据更新异常~5');
|
|
|
+ throw new BusinessException('规格数据更新异常~');
|
|
|
}
|
|
|
}
|
|
|
|