瀏覽代碼

update

master
dengbiao 6 天之前
父節點
當前提交
ad0e7e48b6
共有 3 個文件被更改,包括 8 次插入5 次删除
  1. +0
    -0
      app/hdl/marketing_applications/new_user_red_package/hdl_basic.go
  2. +5
    -2
      app/router/router.go
  3. +3
    -3
      go.mod

app/hdl/institutional_management/new_user_red_package/hdl_basic.go → app/hdl/marketing_applications/new_user_red_package/hdl_basic.go 查看文件


+ 5
- 2
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)


+ 3
- 3
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


Loading…
取消
儲存