dev stock stragety

This commit is contained in:
yanweidong
2026-01-26 17:38:06 +08:00
parent d2a3d60183
commit 7efdead5bf
20 changed files with 540 additions and 665 deletions

View File

@@ -0,0 +1,12 @@
package apps
import "github.com/gin-gonic/gin"
func Home(c *gin.Context) {
data := gin.H{
"Title": "Welcome to " + c.Request.Host,
"Message": "This is " + c.Request.Host + " index page.",
}
c.HTML(200, "apps-home.html", data)
}

View File

@@ -0,0 +1,17 @@
package apps
import "github.com/gin-gonic/gin"
var (
data = gin.H{
"Title": "重生之我在A股开超市",
}
)
func StockHome(c *gin.Context) {
c.HTML(200, "stock-home.html", data)
}
func StrategyBy(c *gin.Context) {
c.HTML(200, "strategy-by.html", data)
}