Merge branch 'dev' of http://172.16.100.91:3000/fiee/fonchain-fiee into dev
This commit is contained in:
commit
080b475826
@ -29,9 +29,9 @@ func BundleRouter(r *gin.RouterGroup) {
|
||||
bundleClientRouteV2.POST("bundle-list", bundle.BundleListV2)
|
||||
bundleClientRouteV2.POST("bundle-detail", bundle.BundleDetailV2)
|
||||
}
|
||||
bundleAppRoute = bundleAppRoute.Group("common")
|
||||
bundleAppRouteV1 := bundleAppRoute.Group("common")
|
||||
{
|
||||
bundleAppRoute.POST("bundle-list", bundle.BundleList)
|
||||
bundleAppRouteV1.POST("bundle-list", bundle.BundleList)
|
||||
}
|
||||
bundleAppRouteV2 := bundleAppRoute.Group("app/system/v2")
|
||||
{
|
||||
|
@ -30,9 +30,9 @@ func ValueAddBundleRouter(r *gin.RouterGroup) {
|
||||
bundleClientRouteV2.POST("detail", bundle.ValueAddServiceDetail)
|
||||
}
|
||||
|
||||
valueAddBundleAppRoute = valueAddBundleAppRoute.Group("system")
|
||||
valueAddBundleAppRouteV1 := valueAddBundleAppRoute.Group("system")
|
||||
{
|
||||
valueAddBundleAppRoute.POST("list", bundle.ValueAddBundleList)
|
||||
valueAddBundleAppRouteV1.POST("list", bundle.ValueAddBundleList)
|
||||
}
|
||||
valueAddBundleAppRouteV2 := valueAddBundleAppRoute.Group("system/v2")
|
||||
{
|
||||
|
@ -1,6 +1,8 @@
|
||||
package governance
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"strconv"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
@ -77,6 +79,8 @@ func Edit(ctx *gin.Context) {
|
||||
return
|
||||
}
|
||||
user := login.GetUserInfoFromC(ctx)
|
||||
b, _ := json.Marshal(user)
|
||||
fmt.Println("用户信息", string(b))
|
||||
req.Operator = user.Name
|
||||
req.OperatorId = int32(user.ID)
|
||||
resp, err := service.GovernanceProvider.Edit(ctx, &req)
|
||||
|
Loading…
Reference in New Issue
Block a user