Fix img加载
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user