xingzai 9 månader sedan
förälder
incheckning
e19b9f3f1a
1 ändrade filer med 2 tillägg och 0 borttagningar
  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
 }