Fix img加载

This commit is contained in:
JiXieShi
2024-05-07 21:58:17 +08:00
parent b55551d4c7
commit ad3a4afc14
3 changed files with 3 additions and 6 deletions

View File

@@ -3,7 +3,6 @@ package controller
import (
"blog/config"
"blog/models"
"log"
"net/http"
"strings"
)
@@ -13,7 +12,6 @@ func Memos(w http.ResponseWriter, r *http.Request) {
http.Error(w, "参数解析错误", http.StatusInternalServerError)
}
fun := r.Form.Get("name")
log.Printf("R:%v,name:%s\n", r.Form, fun)
switch fun {
case "talk":
Template := models.Template.Talk