12345678910111213 |
- package api
- // func Test(r *GinRouter) {
- // r.POST("/test/upload", ImageUpload)
- // }
- // func ImageUpload(c *gin.Context, apictx *ApiSession) (interface{}, error) {
- // orginPath := "images"
- // obsPath := "test/spin_360_orgin"
- // return uploadImage(orginPath, obsPath)
- // }
|