fix logs router
This commit is contained in:
@@ -5,11 +5,12 @@ import (
|
||||
|
||||
"bsm/full/module/base/logs/internal/logic/hello"
|
||||
"bsm/full/module/base/logs/internal/logic/log"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func Register(srvKey string, engine *gin.Engine) {
|
||||
v1_key := fmt.Sprintf("/%s/%s", srvKey, "v1")
|
||||
v1_key := fmt.Sprintf("/rest/%s", srvKey)
|
||||
registerAnonymous(v1_key, engine)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user