test_print.go 280 B

12345678910111213
  1. package api
  2. // func Test(r *GinRouter) {
  3. // r.POST("/test/upload", ImageUpload)
  4. // }
  5. // func ImageUpload(c *gin.Context, apictx *ApiSession) (interface{}, error) {
  6. // orginPath := "images"
  7. // obsPath := "test/spin_360_orgin"
  8. // return uploadImage(orginPath, obsPath)
  9. // }