aa
This commit is contained in:
@@ -73,7 +73,9 @@ func (ue *KnowUploadController) SnsUploadImg() {
|
|||||||
fmt.Fprintf(ue.Ctx.ResponseWriter, "json encode failed $v", err)
|
fmt.Fprintf(ue.Ctx.ResponseWriter, "json encode failed $v", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
fmt.Fprint(ue.Ctx.ResponseWriter, string(tt))
|
ue.Data["jsonp"] = string(tt)
|
||||||
|
ue.ServeJSONP()
|
||||||
|
//fmt.Fprint(ue.Ctx.ResponseWriter, string(tt))
|
||||||
// 上传图片的功能
|
// 上传图片的功能
|
||||||
case "uploadimage":
|
case "uploadimage":
|
||||||
err := ue.Ctx.Request.ParseForm()
|
err := ue.Ctx.Request.ParseForm()
|
||||||
|
|||||||
Reference in New Issue
Block a user