Merge pull request #188 from kit-lee/hotfix/人脸凭证JSON格式化问题

Hotfix/人脸凭证fastjson格式化问题
This commit is contained in:
jinyu 2019-11-22 16:23:37 +08:00 committed by GitHub
commit 9725ffe1cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 0 deletions

View File

@ -76,5 +76,12 @@
<artifactId>bcprov-jdk16</artifactId>
<version>1.46</version>
</dependency>
<!-- 兼容 JDK 9+ 后的maven环境编译 -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.2.11</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

View File

@ -39,6 +39,13 @@
<artifactId>weixin4j-base</artifactId>
<version>1.9.0-SNAPSHOT</version>
</dependency>
<!-- 兼容 JDK 9+ 后的maven环境编译 -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.2.11</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>

View File

@ -34,6 +34,22 @@ public class PayfaceAuthinfo extends MerchantResult {
*/
private String authinfo;
public int getExpiresIn() {
return expiresIn;
}
public void setExpiresIn(int expiresIn) {
this.expiresIn = expiresIn;
}
public String getAuthinfo() {
return authinfo;
}
public void setAuthinfo(String authinfo) {
this.authinfo = authinfo;
}
@Override
public String toString() {
return "PayfaceAuthinfo{" +