xingzai 9 meses atrás
pai
commit
e19b9f3f1a
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      services/cygx/article.go

+ 2 - 0
services/cygx/article.go

@@ -88,6 +88,8 @@ func GetArticleSourcePlatform(SourcePlatform string) (sourcePlatformResp int) {
 		sourcePlatformResp = 1
 	} else if SourcePlatform == "2" {
 		sourcePlatformResp = 2
+	} else {
+		sourcePlatformResp = 1
 	}
 	return
 }