|
@@ -29,6 +29,8 @@ var (
|
|
|
AccessKeyId string = "LTAIFMZYQhS2BTvW"
|
|
|
AccessKeySecret string = "12kk1ptCHoGWedhBnKRVW5hRJzq9Fq"
|
|
|
ResearchReportUrl = "" //全局加密KEY
|
|
|
+ ReportAppid string
|
|
|
+ ReportSecret string
|
|
|
)
|
|
|
|
|
|
func init() {
|
|
@@ -79,9 +81,13 @@ func init() {
|
|
|
logDir := `/data/rdlucklog/hongze_open_api`
|
|
|
ApiLog = log.Init("20060102.api", logDir)
|
|
|
ResearchReportUrl = "http://8.136.199.33:8608/api/"
|
|
|
+ ReportAppid = "CQWx3EqDLNk7bVHo" //Appid
|
|
|
+ ReportSecret = "vRVFCk182Hpv8CyrHsxaHhA3CgGhh4Uu" //AppSecret
|
|
|
} else {
|
|
|
ApiLog = log.Init("20060102.api")
|
|
|
ResearchReportUrl = "http://8.136.199.33:8608/api/"
|
|
|
+ ReportAppid = "VH2ou4EKlYZz58Uj" //Appid
|
|
|
+ ReportSecret = "vRVFCk182Hpv8CyrHsxaHhA3CgGhh4Uu" //AppSecret
|
|
|
}
|
|
|
}
|
|
|
|