1
0
mirror of https://github.com/beego/bee.git synced 2025-06-18 05:00:39 +00:00

fix Beego issue 5719

This commit is contained in:
Deng Ming
2024-11-28 17:24:51 +08:00
committed by Ming Deng
parent 2dac032c00
commit 388b9a0741
3 changed files with 4 additions and 3 deletions

View File

@ -46,5 +46,5 @@ func GenerateScaffold(sname, fields, currpath, driver, conn string) {
if utils.AskForConfirmation() {
migrate.MigrateUpdate(currpath, driver, conn, "")
}
beeLogger.Log.Successf("All done! Don't forget to add beego.Router(\"/%s\" ,&controllers.%sController{}) to routers/route.go\n", sname, strings.Title(sname))
beeLogger.Log.Successf("All done! Don't forget to add beego.AutoPrefix(\"/%s\" ,&controllers.%sController{}) to routers/route.go\n", sname, strings.Title(sname))
}