|
|
@@ -5,8 +5,8 @@ import ( |
|
|
|
"applet/app/hdl" |
|
|
|
"applet/app/hdl/comm" |
|
|
|
"applet/app/hdl/institutional_management/egg_energy" |
|
|
|
"applet/app/hdl/institutional_management/new_user_red_package" |
|
|
|
"applet/app/hdl/institutional_management/public_platoon" |
|
|
|
"applet/app/hdl/marketing_applications/new_user_red_package" |
|
|
|
"applet/app/hdl/setCenter/oss/aliyun" |
|
|
|
"applet/app/mw" |
|
|
|
_ "applet/docs" |
|
|
@@ -57,6 +57,7 @@ func route(r *gin.RouterGroup) { |
|
|
|
rComm(r.Group("/comm")) |
|
|
|
r.Use(mw.CheckPermission) // 检测权限 |
|
|
|
rInstitutionalManagement(r.Group("/institutionalManagement")) |
|
|
|
rMarketingApplications(r.Group("/marketingApplications")) |
|
|
|
rSettCenter(r.Group("/settCenter")) |
|
|
|
} |
|
|
|
|
|
|
@@ -129,8 +130,10 @@ func rInstitutionalManagement(r *gin.RouterGroup) { //制度管理 |
|
|
|
rPlatformRevenue.POST("/platformRevenueAdd", egg_energy.AddPlatformRevenue) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
rNewUserRedPackage := r.Group("/newUserRedPackage") // 新人红包 |
|
|
|
func rMarketingApplications(r *gin.RouterGroup) { //营销应用 |
|
|
|
rNewUserRedPackage := r.Group("/newUserRedPackage") //新人红包 |
|
|
|
{ |
|
|
|
rNewUserRedPackage.GET("/getBasic", new_user_red_package.NewUserRedPackageGetBasic) |
|
|
|
rNewUserRedPackage.PUT("/updateBasic", new_user_red_package.NewUserRedPackageUpdateBasic) |
|
|
|