Skip to content

Conversation

@mengeli
Copy link
Contributor

@mengeli mengeli commented Jun 9, 2018

Create a new starter for uploading file

<scope>test</scope>
</dependency>

<dependency>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

使用这个模块了吗

* Hello world!
*
*/
public class App
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果是测试用 请写到test目录中

/**
* Unit test for simple App.
*/
public class AppTest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里并不包括主要的上传逻辑的测试

Copy link
Contributor

@brotherhui brotherhui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check the comments


@Controller
public class FileUpload {
private static String pilePath = "";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

禁止使用全局变量

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants