Browse Source

no message

xingzai 8 months ago
parent
commit
1416c504ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/cygx/article.go

+ 1 - 1
services/cygx/article.go

@@ -89,7 +89,7 @@ func GetArticleSourcePlatform(SourcePlatform string) (sourcePlatformResp int) {
 	} else if SourcePlatform == "2" {
 		sourcePlatformResp = 2
 	} else {
-		sourcePlatformResp = 1
+		sourcePlatformResp, _ = strconv.Atoi(SourcePlatform)
 	}
 	return
 }