作者 lyh

gx

... ... @@ -69,7 +69,7 @@ class ReplaceHtmlLogic extends BaseLogic
*/
public function getCustomTemplateId($typeInfo,$template_id){
$customModuleModel = new CustomModule();
$moduleInfo = $customModuleModel->read(['id'=>$typeInfo['type']],['list_customized','detail_customized']);
$moduleInfo = $customModuleModel->read(['id'=>$typeInfo['source']],['list_customized','detail_customized']);
if($moduleInfo === false){
$this->fail('当前扩展模块不存在或已被删除');
}
... ...