Commit 28fdc27d by Li Feifei

增加get请求

parent b6c47b3c
Pipeline #8442 passed with stages
in 28 seconds
...@@ -27,6 +27,10 @@ func (this *UploadController) newResponse(code int, msg string) { ...@@ -27,6 +27,10 @@ func (this *UploadController) newResponse(code int, msg string) {
this.ServeJSON() this.ServeJSON()
} }
func (this *UploadController) Get() {
this.newResponse(200, "成功")
}
func (this *UploadController) Post() { func (this *UploadController) Post() {
u := models.XyuSmallTempFiles{} u := models.XyuSmallTempFiles{}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment