代码编写 maven依赖引入 若不是maven项目,需手动添加jar包。 完整代码下载可直接使用,下载地址:http://download.youkuaiyun.com/download/qq_41903676/10363295