作者 lyh

gx

... ... @@ -205,6 +205,7 @@ class ProductController extends BaseController
]);
$info = $product->read(['id'=>$this->param['id']]);
$info = $this->handleParam($info);
return $this->response('success',Code::SUCCESS,$info);
}
... ... @@ -235,7 +236,10 @@ class ProductController extends BaseController
$v['keyword_id_text'] = trim($v['keyword_id_text'],',');
}
$v['status_text'] = Product::statusMap()[$v['status']] ?? '';
$v['is_renovation'] = $this->getProductIsRenovation($v,$v['id']);
//获取当前用户选择的模版
$templateSettingModel = new BSetting();
$templateInfo = $templateSettingModel->read(['project_id'=>$this->user['project_id']]);
$v['is_renovation'] = $this->getProductIsRenovation($templateInfo,$v['id']);
$v['url'] = $this->user['domain'].$v['route'];
return $v;
}
... ...
... ... @@ -302,6 +302,7 @@ class ProjectLogic extends BaseLogic
return $this->success();
}
/**
* @remark :更新服务器为已使用
* @name :updateServe
... ...