|
...
|
...
|
@@ -232,7 +232,7 @@ class ReplaceHtmlLogic extends BaseLogic |
|
|
|
$data = $this->model->sourceType();
|
|
|
|
ProjectServer::useProject($project_id);
|
|
|
|
$customModule = new CustomModule();
|
|
|
|
$moduleList = $customModule->list(['project_id'=>$this->param['project_id']],'id',['id','name']);
|
|
|
|
$moduleList = $customModule->list(['project_id'=>$project_id],'id',['id','name']);
|
|
|
|
foreach ($moduleList as $value){
|
|
|
|
$data[$value['name'].'详情'] = ['source'=>$value['id'],'is_list'=>0,'is_custom'=>1];
|
|
|
|
$data[$value['name'].'列表'] = ['source'=>$value['id'],'is_list'=>1,'is_custom'=>1];
|
...
|
...
|
|