|
@@ -79,6 +79,60 @@ func init() {
|
|
|
Filters: nil,
|
|
|
Params: nil})
|
|
|
|
|
|
+ beego.GlobalControllerRouter["eta/eta_index_lib/controllers:BloombergController"] = append(beego.GlobalControllerRouter["eta/eta_index_lib/controllers:BloombergController"],
|
|
|
+ beego.ControllerComments{
|
|
|
+ Method: "Add",
|
|
|
+ Router: `/add`,
|
|
|
+ AllowHTTPMethods: []string{"post"},
|
|
|
+ MethodParams: param.Make(),
|
|
|
+ Filters: nil,
|
|
|
+ Params: nil})
|
|
|
+
|
|
|
+ beego.GlobalControllerRouter["eta/eta_index_lib/controllers:BloombergController"] = append(beego.GlobalControllerRouter["eta/eta_index_lib/controllers:BloombergController"],
|
|
|
+ beego.ControllerComments{
|
|
|
+ Method: "PCSGImportHistoryData",
|
|
|
+ Router: `/pcsg/import_history_data`,
|
|
|
+ AllowHTTPMethods: []string{"post"},
|
|
|
+ MethodParams: param.Make(),
|
|
|
+ Filters: nil,
|
|
|
+ Params: nil})
|
|
|
+
|
|
|
+ beego.GlobalControllerRouter["eta/eta_index_lib/controllers:BloombergController"] = append(beego.GlobalControllerRouter["eta/eta_index_lib/controllers:BloombergController"],
|
|
|
+ beego.ControllerComments{
|
|
|
+ Method: "PCSGRefreshDaily",
|
|
|
+ Router: `/pcsg/refresh_daily`,
|
|
|
+ AllowHTTPMethods: []string{"post"},
|
|
|
+ MethodParams: param.Make(),
|
|
|
+ Filters: nil,
|
|
|
+ Params: nil})
|
|
|
+
|
|
|
+ beego.GlobalControllerRouter["eta/eta_index_lib/controllers:BloombergController"] = append(beego.GlobalControllerRouter["eta/eta_index_lib/controllers:BloombergController"],
|
|
|
+ beego.ControllerComments{
|
|
|
+ Method: "PCSGRefreshMonthly",
|
|
|
+ Router: `/pcsg/refresh_monthly`,
|
|
|
+ AllowHTTPMethods: []string{"post"},
|
|
|
+ MethodParams: param.Make(),
|
|
|
+ Filters: nil,
|
|
|
+ Params: nil})
|
|
|
+
|
|
|
+ beego.GlobalControllerRouter["eta/eta_index_lib/controllers:BloombergController"] = append(beego.GlobalControllerRouter["eta/eta_index_lib/controllers:BloombergController"],
|
|
|
+ beego.ControllerComments{
|
|
|
+ Method: "PCSGRefreshWeekly",
|
|
|
+ Router: `/pcsg/refresh_weekly`,
|
|
|
+ AllowHTTPMethods: []string{"post"},
|
|
|
+ MethodParams: param.Make(),
|
|
|
+ Filters: nil,
|
|
|
+ Params: nil})
|
|
|
+
|
|
|
+ beego.GlobalControllerRouter["eta/eta_index_lib/controllers:BloombergController"] = append(beego.GlobalControllerRouter["eta/eta_index_lib/controllers:BloombergController"],
|
|
|
+ beego.ControllerComments{
|
|
|
+ Method: "Refresh",
|
|
|
+ Router: `/refresh`,
|
|
|
+ AllowHTTPMethods: []string{"post"},
|
|
|
+ MethodParams: param.Make(),
|
|
|
+ Filters: nil,
|
|
|
+ Params: nil})
|
|
|
+
|
|
|
beego.GlobalControllerRouter["eta/eta_index_lib/controllers:BusinessIndexController"] = append(beego.GlobalControllerRouter["eta/eta_index_lib/controllers:BusinessIndexController"],
|
|
|
beego.ControllerComments{
|
|
|
Method: "Add",
|