Browse Source

🎨 优化代码

dev1
Binary Wang 5 years ago
parent
commit
bcefec0f4b
3 changed files with 1 additions and 4 deletions
  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 View File

@@ -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 View File

@@ -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 View File

@@ -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() {
} }


Loading…
Cancel
Save