|
@@ -42,8 +42,6 @@ func init() {
|
|
web.NSNamespace("/sysuser",
|
|
web.NSNamespace("/sysuser",
|
|
web.NSInclude(
|
|
web.NSInclude(
|
|
&controllers.SysUserController{},
|
|
&controllers.SysUserController{},
|
|
- ),
|
|
|
|
- web.NSInclude(
|
|
|
|
&controllers.SysUserAuthController{},
|
|
&controllers.SysUserAuthController{},
|
|
),
|
|
),
|
|
),
|
|
),
|
|
@@ -60,97 +58,32 @@ func init() {
|
|
web.NSNamespace("/report",
|
|
web.NSNamespace("/report",
|
|
web.NSInclude(
|
|
web.NSInclude(
|
|
&controllers.ReportController{},
|
|
&controllers.ReportController{},
|
|
- //&controllers.ReportChapterTypeController{},
|
|
|
|
- ),
|
|
|
|
- web.NSInclude(
|
|
|
|
- //&controllers.ReportCommonController{},
|
|
|
|
- ),
|
|
|
|
- web.NSInclude(
|
|
|
|
- //&controllers.ReportUploadCommonController{},
|
|
|
|
),
|
|
),
|
|
),
|
|
),
|
|
web.NSNamespace("/statistic_report",
|
|
web.NSNamespace("/statistic_report",
|
|
web.NSInclude(
|
|
web.NSInclude(
|
|
&controllers.StatisticReportController{},
|
|
&controllers.StatisticReportController{},
|
|
&controllers.StatisticYbLogController{},
|
|
&controllers.StatisticYbLogController{},
|
|
- ),
|
|
|
|
- web.NSInclude(
|
|
|
|
&controllers.StatisticReportCommonController{},
|
|
&controllers.StatisticReportCommonController{},
|
|
),
|
|
),
|
|
),
|
|
),
|
|
web.NSNamespace("/voice",
|
|
web.NSNamespace("/voice",
|
|
web.NSInclude(
|
|
web.NSInclude(
|
|
&controllers.VoiceController{},
|
|
&controllers.VoiceController{},
|
|
- ),
|
|
|
|
- web.NSInclude(
|
|
|
|
&controllers.VoiceCommonController{},
|
|
&controllers.VoiceCommonController{},
|
|
),
|
|
),
|
|
),
|
|
),
|
|
- //web.NSNamespace("/ppt",
|
|
|
|
- // web.NSInclude(
|
|
|
|
- // &controllers.PptController{},
|
|
|
|
- // ),
|
|
|
|
- // web.NSInclude(
|
|
|
|
- // &controllers.PptCommonController{},
|
|
|
|
- // ),
|
|
|
|
- //),
|
|
|
|
- //web.NSNamespace("/pptv2",
|
|
|
|
- // web.NSInclude(
|
|
|
|
- // &controllers.PptV2Controller{},
|
|
|
|
- // &controllers.PptV2GroupController{},
|
|
|
|
- // ),
|
|
|
|
- // web.NSInclude(
|
|
|
|
- // &controllers.PptV2CommonController{},
|
|
|
|
- // ),
|
|
|
|
- //),
|
|
|
|
- //web.NSNamespace("/ppt_english",
|
|
|
|
- // web.NSInclude(
|
|
|
|
- // &controllers.PptEnglishController{},
|
|
|
|
- // &controllers.PptEnglishGroupController{},
|
|
|
|
- // ),
|
|
|
|
- // web.NSInclude(
|
|
|
|
- // &controllers.PptEnglishCommonController{},
|
|
|
|
- // ),
|
|
|
|
- //),
|
|
|
|
- //web.NSNamespace("/entry",
|
|
|
|
- // web.NSInclude(
|
|
|
|
- // &controllers.TargetController{},
|
|
|
|
- // ),
|
|
|
|
- // web.NSInclude(
|
|
|
|
- // &controllers.TargetCommonController{},
|
|
|
|
- // ),
|
|
|
|
- // web.NSInclude(
|
|
|
|
- // &controllers.TradeCommonController{},
|
|
|
|
- // ),
|
|
|
|
- //),
|
|
|
|
-
|
|
|
|
web.NSNamespace("/system",
|
|
web.NSNamespace("/system",
|
|
web.NSInclude(
|
|
web.NSInclude(
|
|
&controllers.SysDepartmentController{},
|
|
&controllers.SysDepartmentController{},
|
|
- ),
|
|
|
|
- web.NSInclude(
|
|
|
|
&controllers.SysGroupController{},
|
|
&controllers.SysGroupController{},
|
|
- ),
|
|
|
|
- web.NSInclude(
|
|
|
|
&controllers.SysTeamController{},
|
|
&controllers.SysTeamController{},
|
|
- ),
|
|
|
|
- web.NSInclude(
|
|
|
|
&controllers.SysAdminController{},
|
|
&controllers.SysAdminController{},
|
|
- ),
|
|
|
|
- web.NSInclude(
|
|
|
|
&controllers.SysRoleController{},
|
|
&controllers.SysRoleController{},
|
|
&controllers.SysRoleAdminController{},
|
|
&controllers.SysRoleAdminController{},
|
|
- ),
|
|
|
|
- web.NSInclude(
|
|
|
|
&controllers.SysMenuController{},
|
|
&controllers.SysMenuController{},
|
|
- ),
|
|
|
|
- web.NSInclude(
|
|
|
|
&controllers.SysMenuButtonController{},
|
|
&controllers.SysMenuButtonController{},
|
|
- ),
|
|
|
|
- web.NSInclude(
|
|
|
|
&controllers.SysFlowController{},
|
|
&controllers.SysFlowController{},
|
|
- ),
|
|
|
|
- web.NSInclude(
|
|
|
|
&controllers.ResearchGroupController{},
|
|
&controllers.ResearchGroupController{},
|
|
),
|
|
),
|
|
),
|
|
),
|
|
@@ -248,11 +181,6 @@ func init() {
|
|
&controllers.GroupSendMsgController{},
|
|
&controllers.GroupSendMsgController{},
|
|
),
|
|
),
|
|
),
|
|
),
|
|
- //web.NSNamespace("/php_serve",
|
|
|
|
- // web.NSInclude(
|
|
|
|
- // &php_serve.PhpServeController{},
|
|
|
|
- // ),
|
|
|
|
- //),
|
|
|
|
web.NSNamespace("/my_chart",
|
|
web.NSNamespace("/my_chart",
|
|
web.NSInclude(
|
|
web.NSInclude(
|
|
&data_manage.MyChartController{},
|
|
&data_manage.MyChartController{},
|
|
@@ -291,11 +219,6 @@ func init() {
|
|
&roadshow.CalendarController{},
|
|
&roadshow.CalendarController{},
|
|
),
|
|
),
|
|
),
|
|
),
|
|
- //web.NSNamespace("/sandbox",
|
|
|
|
- // web.NSInclude(
|
|
|
|
- // &sandbox.SandboxController{},
|
|
|
|
- // ),
|
|
|
|
- //),
|
|
|
|
web.NSNamespace("/taglib",
|
|
web.NSNamespace("/taglib",
|
|
web.NSInclude(
|
|
web.NSInclude(
|
|
&controllers.VarietyTagController{},
|
|
&controllers.VarietyTagController{},
|
|
@@ -318,14 +241,6 @@ func init() {
|
|
&english_report.EnglishVideoController{},
|
|
&english_report.EnglishVideoController{},
|
|
),
|
|
),
|
|
),
|
|
),
|
|
- //web.NSNamespace("/report_author",
|
|
|
|
- // web.NSInclude(
|
|
|
|
- // &controllers.ReportAuthorCommonController{},
|
|
|
|
- // ),
|
|
|
|
- // web.NSInclude(
|
|
|
|
- // &controllers.ReportAuthorController{},
|
|
|
|
- // ),
|
|
|
|
- //),
|
|
|
|
web.NSNamespace("/future_good",
|
|
web.NSNamespace("/future_good",
|
|
web.NSInclude(
|
|
web.NSInclude(
|
|
&future_good2.FutureGoodEdbInfoController{},
|
|
&future_good2.FutureGoodEdbInfoController{},
|
|
@@ -351,11 +266,6 @@ func init() {
|
|
&line_feature.LineFeaturesChartInfoController{},
|
|
&line_feature.LineFeaturesChartInfoController{},
|
|
),
|
|
),
|
|
),
|
|
),
|
|
- //web.NSNamespace("/cloud_disk",
|
|
|
|
- // web.NSInclude(
|
|
|
|
- // &controllers.CloudDiskController{},
|
|
|
|
- // ),
|
|
|
|
- //),
|
|
|
|
web.NSNamespace("/eta_trial",
|
|
web.NSNamespace("/eta_trial",
|
|
web.NSInclude(
|
|
web.NSInclude(
|
|
&controllers.ETATrialController{},
|
|
&controllers.ETATrialController{},
|
|
@@ -372,15 +282,6 @@ func init() {
|
|
&controllers.MaycurOpenController{},
|
|
&controllers.MaycurOpenController{},
|
|
),
|
|
),
|
|
),
|
|
),
|
|
- //web.NSNamespace("/semantic_analysis",
|
|
|
|
- // web.NSInclude(
|
|
|
|
- // &semantic_analysis.SaLabelController{},
|
|
|
|
- // &semantic_analysis.SaDocClassifyController{},
|
|
|
|
- // &semantic_analysis.SaDocController{},
|
|
|
|
- // &semantic_analysis.SaCompareClassifyController{},
|
|
|
|
- // &semantic_analysis.SaCompareController{},
|
|
|
|
- // ),
|
|
|
|
- //),
|
|
|
|
web.NSNamespace("/supply_analysis",
|
|
web.NSNamespace("/supply_analysis",
|
|
web.NSInclude(
|
|
web.NSInclude(
|
|
&supply_analysis.VarietyController{},
|
|
&supply_analysis.VarietyController{},
|
|
@@ -396,11 +297,6 @@ func init() {
|
|
&english_report.EnPermissionController{},
|
|
&english_report.EnPermissionController{},
|
|
),
|
|
),
|
|
),
|
|
),
|
|
- //web.NSNamespace("/english_classify",
|
|
|
|
- // web.NSInclude(
|
|
|
|
- // &english_report.EnglishClassifyController{},
|
|
|
|
- // ),
|
|
|
|
- //),
|
|
|
|
)
|
|
)
|
|
web.AddNamespace(ns)
|
|
web.AddNamespace(ns)
|
|
}
|
|
}
|