fix
This commit is contained in:
		
							parent
							
								
									1c03e5bb01
								
							
						
					
					
						commit
						63a7aa0a3d
					
				@ -99,7 +99,7 @@ func (l *GetTemplateByPidLogic) GetTemplateByPid(req *types.GetTemplateByPidReq,
 | 
				
			|||||||
			continue
 | 
								continue
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		//基础模板信息
 | 
							//基础模板信息
 | 
				
			||||||
		var info map[string]map[string]interface{}
 | 
							var info interface{}
 | 
				
			||||||
		if err = json.Unmarshal([]byte(*templateInfo.TemplateInfo), &info); err != nil {
 | 
							if err = json.Unmarshal([]byte(*templateInfo.TemplateInfo), &info); err != nil {
 | 
				
			||||||
			logx.Error(err)
 | 
								logx.Error(err)
 | 
				
			||||||
			return resp.SetStatusWithMessage(basic.CodeJsonErr, fmt.Sprintf("failed to parse json product template info(may be old data):%d", templateInfo.Id))
 | 
								return resp.SetStatusWithMessage(basic.CodeJsonErr, fmt.Sprintf("failed to parse json product template info(may be old data):%d", templateInfo.Id))
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user