diff --git a/src/main/java/au/com/royalpay/payment/manage/PaymentManageApplication.java b/src/main/java/au/com/royalpay/payment/manage/PaymentManageApplication.java index 3fcbe051a..b84648e5f 100644 --- a/src/main/java/au/com/royalpay/payment/manage/PaymentManageApplication.java +++ b/src/main/java/au/com/royalpay/payment/manage/PaymentManageApplication.java @@ -1,5 +1,6 @@ package au.com.royalpay.payment.manage; +import com.alibaba.fastjson.parser.ParserConfig; import com.google.code.kaptcha.Producer; import com.google.code.kaptcha.impl.DefaultKaptcha; import com.google.code.kaptcha.util.Config; @@ -33,6 +34,7 @@ import java.util.concurrent.ScheduledExecutorService; public class PaymentManageApplication { public static void main(String[] args) { + ParserConfig.getGlobalInstance().setAutoTypeSupport(true); SpringApplication.run(PaymentManageApplication.class, args); }