浏览代码

no message

xingzai 8 月之前
父节点
当前提交
1416c504ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
 }