123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322 |
- // @APIVersion 1.0.0
- // @Title beego Test API
- // @Description beego has a very cool tools to autogenerate documents for your API
- // @Contact astaxie@gmail.com
- // @TermsOfServiceUrl http://beego.me/
- // @License Apache 2.0
- // @LicenseUrl http://www.apache.org/licenses/LICENSE-2.0.html
- package routers
- import (
- "eta/eta_index_lib/controllers"
- "eta/eta_index_lib/controllers/factor_edb_series"
- "eta/eta_index_lib/controllers/fix"
- "eta/eta_index_lib/controllers/future_good"
- "eta/eta_index_lib/controllers/open"
- beego "github.com/beego/beego/v2/server/web"
- )
- func init() {
- ns := beego.NewNamespace("/edbapi",
- beego.NSNamespace("/ths",
- beego.NSInclude(
- &controllers.ThsController{},
- &controllers.ThsDsController{},
- &controllers.ThsHfController{},
- ),
- ),
- beego.NSNamespace("/pb",
- beego.NSInclude(
- &controllers.PbController{},
- ),
- ),
- beego.NSNamespace("/pb_finance",
- beego.NSInclude(
- &controllers.PbFinanceController{},
- ),
- ),
- beego.NSNamespace("/wind",
- beego.NSInclude(
- &controllers.WindController{},
- &controllers.WindWsdController{},
- ),
- ),
- beego.NSNamespace("/lz",
- beego.NSInclude(
- &controllers.LzController{},
- ),
- ),
- beego.NSNamespace("/lt",
- beego.NSInclude(
- &controllers.LtController{},
- ),
- ),
- beego.NSNamespace("/smm",
- beego.NSInclude(
- &controllers.SmmController{},
- ),
- ),
- beego.NSNamespace("/mysteel",
- beego.NSInclude(
- &controllers.MySteelController{},
- ),
- ),
- beego.NSNamespace("/manual",
- beego.NSInclude(
- &controllers.ManualController{},
- ),
- ),
- beego.NSNamespace("/calculate",
- beego.NSInclude(
- &controllers.CalculateController{},
- ),
- ),
- beego.NSNamespace("/zz",
- beego.NSInclude(
- &controllers.ZzController{},
- ),
- ),
- beego.NSNamespace("/dl",
- beego.NSInclude(
- &controllers.DlController{},
- ),
- ),
- beego.NSNamespace("/sh",
- beego.NSInclude(
- &controllers.ShController{},
- ),
- ),
- beego.NSNamespace("/cffex",
- beego.NSInclude(
- &controllers.CffexController{},
- ),
- ),
- beego.NSNamespace("/shfe",
- beego.NSInclude(
- &controllers.ShfeController{},
- ),
- ),
- beego.NSNamespace("/gie",
- beego.NSInclude(
- &controllers.GieController{},
- ),
- ),
- beego.NSNamespace("/coal",
- beego.NSInclude(
- &controllers.CoalController{},
- ),
- ),
- beego.NSNamespace("/python",
- beego.NSInclude(
- &controllers.PythonController{},
- ),
- ),
- beego.NSNamespace("/google_travel",
- beego.NSInclude(
- &controllers.GoogleTravelController{},
- ),
- ),
- beego.NSNamespace("/mysteel_chemical",
- beego.NSInclude(
- &controllers.MySteelChemicalController{},
- ),
- ),
- beego.NSNamespace("/predict_calculate",
- beego.NSInclude(
- &controllers.PredictCalculateController{},
- ),
- ),
- beego.NSNamespace("/eia_steo",
- beego.NSInclude(
- &controllers.EiaSteoController{},
- ),
- ),
- beego.NSNamespace("/predict",
- beego.NSInclude(
- &controllers.PredictController{},
- ),
- ),
- beego.NSNamespace("/future_good",
- beego.NSInclude(
- &future_good.FutureGoodEdbInfoController{},
- ),
- ),
- beego.NSNamespace("/sci",
- beego.NSInclude(
- &controllers.SciController{},
- ),
- ),
- beego.NSNamespace("/com_trade",
- beego.NSInclude(
- &controllers.ComTradeController{},
- ),
- ),
- beego.NSNamespace("/baiinfo",
- beego.NSInclude(
- &controllers.BaiinfoController{},
- ),
- ),
- beego.NSNamespace("/yongyi",
- beego.NSInclude(
- &controllers.YongyiController{},
- ),
- ),
- beego.NSNamespace("/stock_plant",
- beego.NSInclude(
- &controllers.StockPlantController{},
- ),
- ),
- beego.NSNamespace("/national_statistics",
- beego.NSInclude(
- &controllers.NationalStatisticsController{},
- ),
- ),
- beego.NSNamespace("/fubao",
- beego.NSInclude(
- &controllers.FuBaoController{},
- ),
- ),
- beego.NSNamespace("/open",
- beego.NSInclude(
- &open.EdbInfoController{},
- ),
- ),
- beego.NSNamespace("/classify",
- beego.NSInclude(
- &controllers.EdbClassifyController{},
- ),
- ),
- beego.NSNamespace("/edb_info",
- beego.NSInclude(
- &controllers.EdbInfoController{},
- ),
- ),
- beego.NSNamespace("/edb_info_calculate",
- beego.NSInclude(
- &controllers.EdbInfoCalculateController{},
- ),
- ),
- beego.NSNamespace("/exchange_crawler",
- beego.NSInclude(
- &controllers.ExchangeCrawler{},
- ),
- ),
- beego.NSNamespace("/fix",
- beego.NSInclude(
- &fix.CustomAnalysisController{},
- ),
- ),
- beego.NSNamespace("/jiayue_index",
- beego.NSInclude(
- &controllers.JiaYueController{},
- ),
- ),
- beego.NSNamespace("/edb_stat",
- beego.NSInclude(
- &controllers.EdbInfoStatController{},
- ),
- ),
- beego.NSNamespace("/coal_mine",
- beego.NSInclude(
- &controllers.CoalMineDataController{},
- ),
- ),
- beego.NSNamespace("/fenwei",
- beego.NSInclude(
- &controllers.FenweiController{},
- ),
- ),
- beego.NSNamespace("/gz",
- beego.NSInclude(
- &controllers.GzController{},
- ),
- ),
- beego.NSNamespace("/mtjh",
- beego.NSInclude(
- &controllers.MtjhDataController{},
- ),
- ),
- beego.NSNamespace("/icpi",
- beego.NSInclude(
- &controllers.IcpiController{},
- ),
- ),
- beego.NSNamespace("/edb_refresh",
- beego.NSInclude(
- &controllers.EdbRefreshController{},
- ),
- ),
- beego.NSNamespace("/bloomberg",
- beego.NSInclude(
- &controllers.BloombergController{},
- ),
- ),
- beego.NSNamespace("/business_index",
- beego.NSInclude(
- &controllers.BusinessIndexController{},
- ),
- ),
- beego.NSNamespace("/sci99",
- beego.NSInclude(
- &controllers.Sci99Controller{},
- ),
- ),
- beego.NSNamespace("/sci99_crawler",
- beego.NSInclude(
- &controllers.Sci99Crawler{},
- ),
- ),
- beego.NSNamespace("/ccf",
- beego.NSInclude(
- &controllers.CCFController{},
- ),
- ),
- beego.NSNamespace("/shanghai_smm",
- beego.NSInclude(
- &controllers.ShanghaiSmmController{},
- ),
- ),
- beego.NSNamespace("/sci_hq",
- beego.NSInclude(
- &controllers.SciHqController{},
- ),
- ),
- beego.NSNamespace("/factor_edb_series",
- beego.NSInclude(
- &factor_edb_series.FactorEdbSeriesController{},
- ),
- ),
- beego.NSNamespace("/ly",
- beego.NSInclude(
- &controllers.BaseFromLyController{},
- ),
- ),
- beego.NSNamespace("/rzd",
- beego.NSInclude(
- &controllers.BaseFromRzdController{},
- ),
- ),
- beego.NSNamespace("/oilchem",
- beego.NSInclude(
- &controllers.OilchemController{},
- ),
- ),
- beego.NSNamespace("/trade_analysis",
- beego.NSInclude(
- &controllers.BaseFromTradeAnalysisController{},
- ),
- ),
- beego.NSNamespace("/usda_fas",
- beego.NSInclude(
- &controllers.UsdaFasController{},
- ),
- ),
- beego.NSNamespace("/hisugar",
- beego.NSInclude(
- &controllers.HisugarController{},
- ),
- ),
- )
- beego.AddNamespace(ns)
- }
|