|
@@ -301,10 +301,18 @@ func (this *MobileHomeController) NewList() {
|
|
|
br.ErrMsg = "GetCygxTagByTagId,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
- activityTypes += tagInfo.ActivityTypes + ","
|
|
|
- articleTypes += tagInfo.ArticleTypes + ","
|
|
|
- industries += tagInfo.Industries + ","
|
|
|
- subjectNames += tagInfo.SubjectNames + ","
|
|
|
+ if tagInfo.ActivityTypes != "" {
|
|
|
+ activityTypes += tagInfo.ActivityTypes + ","
|
|
|
+ }
|
|
|
+ if tagInfo.ArticleTypes != "" {
|
|
|
+ articleTypes += tagInfo.ArticleTypes + ","
|
|
|
+ }
|
|
|
+ if tagInfo.Industries != "" {
|
|
|
+ industries += tagInfo.Industries + ","
|
|
|
+ }
|
|
|
+ if tagInfo.SubjectNames != "" {
|
|
|
+ subjectNames += tagInfo.SubjectNames + ","
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|