File import of ruoyi framework back-end code

If the relevant methods for file import are provided, just call them.
Just find a controller and test it.
Insert image description hereStudent is the file class. You need to create tables and pojos by yourself.

Test it with postman

Insert image description hereAfter setting a breakpoint, we can obviously see that the imported data has been stored in the list, and the data can be processed as needed.
Insert image description here

Guess you like

Origin blog.csdn.net/qq_40579139/article/details/125799382