TRX 1 vuosi sitten
vanhempi
commit
b96a872795

+ 3 - 2
src/main/java/com/github/microservice/types/payment/PaymentType.java

@@ -6,11 +6,12 @@ import lombok.Getter;
  * 支付方式
  */
 public enum PaymentType {
-    WeChat("微信", false, "WxPaymentMainService", null),
+    WeChat("微信支付", false, "WxPaymentMainService",
+            PaymentChannelType.BalancePayment),
     UnionFrictionlessPay("银联无感支付", true, "UnionFrictionlessPayMainService", null),
     LakalaFrictionlessPay("拉卡拉快捷支付", true, "", PaymentChannelType.SecretFreePayment),
     UserWallet("个人钱包", false, "WalletMainService", null),
-    QrCode("微信支付", false, "", null),
+    QrCode("二维码支付", false, "", null),
     WxQrCode("微信付款码支付", false, "", null),
     ZfbQrCode("支付宝付款码支付", false, "", null),
     ;

+ 2 - 0
src/main/java/com/github/microservice/types/payment/PaymentTypeModel.java

@@ -17,6 +17,8 @@ public class PaymentTypeModel {
 
     private String name;
 
+    private Boolean isChecked = Boolean.FALSE;
+
     public String getName() {
         if (paymentType != null) {
             return paymentType.getRemark();