From ad0e7e48b6f1ec54dd290924173d35a85ca7a548 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Fri, 15 Nov 2024 16:19:52 +0800 Subject: [PATCH] update --- .../new_user_red_package/hdl_basic.go | 0 app/router/router.go | 7 +++++-- go.mod | 6 +++--- 3 files changed, 8 insertions(+), 5 deletions(-) rename app/hdl/{institutional_management => marketing_applications}/new_user_red_package/hdl_basic.go (100%) diff --git a/app/hdl/institutional_management/new_user_red_package/hdl_basic.go b/app/hdl/marketing_applications/new_user_red_package/hdl_basic.go similarity index 100% rename from app/hdl/institutional_management/new_user_red_package/hdl_basic.go rename to app/hdl/marketing_applications/new_user_red_package/hdl_basic.go diff --git a/app/router/router.go b/app/router/router.go index 6c8c889..32a9173 100644 --- a/app/router/router.go +++ b/app/router/router.go @@ -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) diff --git a/go.mod b/go.mod index a2845c5..f1bc22a 100644 --- a/go.mod +++ b/go.mod @@ -2,9 +2,9 @@ module applet go 1.19 -//replace code.fnuoos.com/EggPlanet/egg_models.git => E:/company/Egg/egg_models +replace code.fnuoos.com/EggPlanet/egg_models.git => E:/company/Egg/egg_models -//replace code.fnuoos.com/EggPlanet/egg_system_rules.git => E:/company/Egg/egg_system_rules +replace code.fnuoos.com/EggPlanet/egg_system_rules.git => E:/company/Egg/egg_system_rules require ( github.com/boombuler/barcode v1.0.1 @@ -35,6 +35,7 @@ require ( require ( code.fnuoos.com/EggPlanet/egg_models.git v0.0.5 + code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.3 code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5 github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible github.com/go-sql-driver/mysql v1.8.1 @@ -44,7 +45,6 @@ require ( ) require ( - code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.3 // indirect filippo.io/edwards25519 v1.1.0 // indirect github.com/BurntSushi/toml v1.4.0 // indirect github.com/KyleBanks/depth v1.2.1 // indirect