Parcourir la source

🎨 优化代码

dev
Binary Wang il y a 6 ans
Parent
révision
bcefec0f4b
3 fichiers modifiés avec 1 ajouts et 4 suppressions
  1. +0
    -2
      weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/PayScoreService.java
  2. +0
    -1
      weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/PayScoreServiceImpl.java
  3. +1
    -1
      weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/PayScoreServiceImplTest.java

+ 0
- 2
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/PayScoreService.java Voir le fichier

@@ -122,11 +122,9 @@ public interface PayScoreService {
* *
* @param data the data * @param data the data
* @return the wx pay score result * @return the wx pay score result
* @throws WxPayException the wx pay exception
*/ */
PayScoreNotifyData parseNotifyData(String data); PayScoreNotifyData parseNotifyData(String data);



/** /**
* <pre> * <pre>
* 支付分回调NotifyData解密resource * 支付分回调NotifyData解密resource


+ 0
- 1
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/PayScoreServiceImpl.java Voir le fichier

@@ -153,7 +153,6 @@ public class PayScoreServiceImpl implements PayScoreService {
@Override @Override
public PayScoreNotifyData parseNotifyData(String data) { public PayScoreNotifyData parseNotifyData(String data) {
return GSON.fromJson(data, PayScoreNotifyData.class); return GSON.fromJson(data, PayScoreNotifyData.class);

} }


@Override @Override


+ 1
- 1
weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/PayScoreServiceImplTest.java Voir le fichier

@@ -101,7 +101,7 @@ public class PayScoreServiceImplTest {
*/ */
this.payService.getPayScoreService().completeServiceOrder(WxPayScoreRequest.builder().build()); this.payService.getPayScoreService().completeServiceOrder(WxPayScoreRequest.builder().build());
} }
@Test @Test
public void testPayServiceOrder() { public void testPayServiceOrder() {
} }


Chargement…
Annuler
Enregistrer