1
0
mirror of https://github.com/beego/bee.git synced 2025-06-15 15:20:38 +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 670ee6d5e7
commit f196e2c93e
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))
}