|
...
|
...
|
@@ -38,7 +38,9 @@ class ProductLogic extends BaseLogic |
|
|
|
//关联分类
|
|
|
|
CategoryRelated::saveRelated($res['id'], $data['category_id']);
|
|
|
|
//关联关键词
|
|
|
|
if(isset($data['keyword_id']) && !empty($data['keyword_id'])){
|
|
|
|
KeywordRelated::saveRelated($res['id'], $data['keyword_id']);
|
|
|
|
}
|
|
|
|
//路由映射
|
|
|
|
$route = RouteMap::setRoute($param['route'], RouteMap::SOURCE_PRODUCT, $res['id'], $this->user['project_id']);
|
|
|
|
// DB::commit();
|
...
|
...
|
|