作者 lyh

gx

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