|
@@ -47,7 +47,6 @@ class ProductLogic extends BaseLogic |
|
@@ -47,7 +47,6 @@ class ProductLogic extends BaseLogic |
|
47
|
$this->param = $this->handleSaveParam($this->param);
|
47
|
$this->param = $this->handleSaveParam($this->param);
|
|
48
|
try {
|
48
|
try {
|
|
49
|
if(isset($this->param['id']) && !empty($this->param['id'])){
|
49
|
if(isset($this->param['id']) && !empty($this->param['id'])){
|
|
50
|
-
|
|
|
|
51
|
$is_upgrade = $this->param['is_upgrade'] ?? 0;//1:5.0数据 0:6.0
|
50
|
$is_upgrade = $this->param['is_upgrade'] ?? 0;//1:5.0数据 0:6.0
|
|
52
|
$six_read = $this->param['six_read'] ?? 0;//是否按6.0显示
|
51
|
$six_read = $this->param['six_read'] ?? 0;//是否按6.0显示
|
|
53
|
if($is_upgrade == 0 || $six_read == 1){
|
52
|
if($is_upgrade == 0 || $six_read == 1){
|
|
@@ -442,7 +441,7 @@ class ProductLogic extends BaseLogic |
|
@@ -442,7 +441,7 @@ class ProductLogic extends BaseLogic |
|
442
|
$this->model->edit(['route'=>$route],['id'=>$save_id]);
|
441
|
$this->model->edit(['route'=>$route],['id'=>$save_id]);
|
|
443
|
//同步可视化装修数据
|
442
|
//同步可视化装修数据
|
|
444
|
$this->copyTemplate($this->param['id'],$info['project_id'],$save_id);
|
443
|
$this->copyTemplate($this->param['id'],$info['project_id'],$save_id);
|
|
445
|
- return $this->success();
|
444
|
+ return $this->success(['id'=>$save_id]);
|
|
446
|
}
|
445
|
}
|
|
447
|
|
446
|
|
|
448
|
/**
|
447
|
/**
|