sdkmanhtml
sdk install maven
支付寶sdk 選擇Java版java
mvn install:install-file -DgroupId=com.alipay -DartifactId=sdk-java -Dversion=20171026141113 -Dpackaging=jar -Dfile=alipay-sdk-java20171026141113.jar
20171026141113
爲版本號,替換爲下載時的版本號便可maven
<dependency> <groupId>com.alipay</groupId> <artifactId>sdk-java</artifactId> <version>20171026141113</version> </dependency>
將版本號替換便可。code