refactor🎨: 调整index to go-admin 接口

This commit is contained in:
zhangwenjian
2021-06-29 16:27:10 +08:00
parent c82c58443c
commit 7f8c302405
2 changed files with 106 additions and 1 deletions
@@ -33,7 +33,7 @@ $(function(){
</html>
`
func HelloWorld(c *gin.Context) {
func GoAdmin(c *gin.Context) {
c.Header("Content-Type", "text/html; charset=utf-8")
c.String(200, INDEX)
}