|
@@ -138,6 +138,9 @@ var (
|
|
var (
|
|
var (
|
|
KplerExcelFilePath string //excel文件地址
|
|
KplerExcelFilePath string //excel文件地址
|
|
KplerExcelOpen string //是否配置Kpler数据源,1已配置
|
|
KplerExcelOpen string //是否配置Kpler数据源,1已配置
|
|
|
|
+ KplerRefreshUrl string //Kpler刷新url
|
|
|
|
+ KplerApiAccount string //Kpler API调用方式的账号
|
|
|
|
+ KplerApiPassword string //Kpler API调用方式的密码
|
|
)
|
|
)
|
|
|
|
|
|
var (
|
|
var (
|
|
@@ -295,7 +298,9 @@ func init() {
|
|
|
|
|
|
KplerExcelOpen = config["kpler_excel_open"]
|
|
KplerExcelOpen = config["kpler_excel_open"]
|
|
KplerExcelFilePath = config["kpler_excel_file_path"]
|
|
KplerExcelFilePath = config["kpler_excel_file_path"]
|
|
-
|
|
|
|
|
|
+ KplerRefreshUrl = config["kpler_refresh_url"]
|
|
|
|
+ KplerApiAccount = config["kpler_api_account"]
|
|
|
|
+ KplerApiPassword = config["kpler_api_password"]
|
|
CacheClient = cache.New(365*24*time.Hour, 365*24*time.Hour)
|
|
CacheClient = cache.New(365*24*time.Hour, 365*24*time.Hour)
|
|
}
|
|
}
|
|
|
|
|