|
|
@ -69,7 +69,8 @@ func (c *CouponUsers) InsertCouponUserByExcel(r *ghttp.Request) { |
|
|
|
/*解析请求*/ |
|
|
|
|
|
|
|
// 从请求中获取文件
|
|
|
|
file, _, err := r.FormFile("excelFile") |
|
|
|
//file, _, err := r.FormFile("excelFile")
|
|
|
|
file, _, err := r.FormFile("file") |
|
|
|
if err != nil { |
|
|
|
r.Response.WriteJsonExit(dto.Error(err.Error())) |
|
|
|
} |
|
|
|