This commit is contained in:
laodaming
2023-09-12 17:44:12 +08:00
parent ef946ed0e8
commit dd123cc446
2 changed files with 9 additions and 4 deletions

View File

@@ -92,9 +92,6 @@ func (l *GetTemplateByPidLogic) GetTemplateByPid(req *types.GetTemplateByPidReq,
rsp := make(map[string]interface{})
for _, templateInfo := range templateList {
//没有设置模板据不要
if templateInfo.TemplateInfo == nil || *templateInfo.TemplateInfo == "" {
continue
}
modelIndex, ok := mapModel[*templateInfo.ModelId]
if !ok {
continue