Jianghan 10 ماه پیش
والد
کامیت
ba7e638bee
1فایلهای تغییر یافته به همراه0 افزوده شده و 6 حذف شده
  1. 0 6
      encrypt/encryptarticle.go

+ 0 - 6
encrypt/encryptarticle.go

@@ -10,7 +10,6 @@ import (
 var SE = &SimpleEncrypt{Key: "topnet2015topnet2015"}
 var SE = &SimpleEncrypt{Key: "topnet2015topnet2015"}
 var SE2 = &SimpleEncrypt{Key: "2017jianyu"}
 var SE2 = &SimpleEncrypt{Key: "2017jianyu"}
 var SE3 = &SimpleEncrypt{Key: "entservice"}
 var SE3 = &SimpleEncrypt{Key: "entservice"}
-var SE4 = &SimpleEncrypt{Key: "standardApi"}
 
 
 // 百度
 // 百度
 var BSE = &SimpleEncrypt{Key: "HNtopnet2017jy"}
 var BSE = &SimpleEncrypt{Key: "HNtopnet2017jy"}
@@ -35,8 +34,6 @@ func CommonEncodeArticle(stype string, keys ...string) (id string) {
 		id = BEncodeArticleId2ByCheck("C", ESE, ESE2, keys...)
 		id = BEncodeArticleId2ByCheck("C", ESE, ESE2, keys...)
 	case "indexcontent":
 	case "indexcontent":
 		id = BEncodeArticleId2ByCheck("D", ISE, ISE2, keys...)
 		id = BEncodeArticleId2ByCheck("D", ISE, ISE2, keys...)
-	case "standardapi":
-		id = BEncodeArticleId2ByCheck("E", SE2, SE4, keys...)
 	}
 	}
 	return
 	return
 }
 }
@@ -56,9 +53,6 @@ func CommonDecodeArticle(stype string, id string) (res []string) {
 		res = BDecodeArticleId2ByCheck(id, SE, SE2)
 		res = BDecodeArticleId2ByCheck(id, SE, SE2)
 	case "entservice":
 	case "entservice":
 		res = []string{SE3.DecodeString(id)}
 		res = []string{SE3.DecodeString(id)}
-	case "standardapi":
-		res = BDecodeArticleId2ByCheck(id, SE2, SE4)
-
 	}
 	}
 	return
 	return
 }
 }