| 
					
				 | 
			
			
				@@ -17,7 +17,7 @@ type ApplyCap struct { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	PcIsShow     int    `gorm:"type:int;" json:"pc_is_show"`     // 是否pc端显示 1 显示 2 不显示 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	MobileIsShow int    `gorm:"type:int;" json:"mobile_is_show"` // 是否移动端显示 1 显示 2 不显示 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	Sort         int    `gorm:"type:int;" json:"sort"`           // 排序 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	CapUrl       string `gorm:"-" json:"cap_url"` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // DeleteApplyCAp 删除应用能力 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -120,6 +120,13 @@ func (a ApplyCap) ApplyCapList(appid string) ([]ApplyCap, error) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	if tx.RowsAffected > 0 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		for i, _ := range applycap { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			var capability Capabilities 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			tx := global.DBLink.Model(&Capabilities{}).Where("cap_id = ?", applycap[i].CapId).First(&capability) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			if tx.Error == nil { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				applycap[i].CapUrl = capability.CapUrl 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		return applycap, nil 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	return applycap, errors.New(e.FINDFAIL.GetMsg()) 
			 |