Skip to content

Commit

Permalink
refactor: 优化代码结构
Browse files Browse the repository at this point in the history
  • Loading branch information
allen committed Apr 26, 2022
1 parent 63507f2 commit bf95101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/api/home.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func init() {
}

func SayWelcome(w http.ResponseWriter, r *http.Request) {
err := tmpl.ExecuteTemplate(w, "index.html", map[string]string{"title": "叮咚抢菜"})
err := tmpl.ExecuteTemplate(w, "index.html", map[string]string{"title": "叮咚买菜助手"})
if err != nil {
_, _ = io.WriteString(w, err.Error()+"\n")
}
Expand Down

0 comments on commit bf95101

Please sign in to comment.