GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 支持服务商支付分 by hallkk · Pull Request #2653 · binarywang/WxJava

Conversation

@hallkk

@hallkk hallkk commented May 19, 2022

Copy link
Copy Markdown

文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/index.shtml

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@hallkk
支持服务商支付分
2484ca0
sonatype-lift[bot]
sonatype-lift Bot reviewed May 19, 2022
View reviewed changes
Comment thread ...a-pay/src/main/java/com/github/binarywang/wxpay/service/impl/PartnerPayScoreServiceImpl.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@binarywang

binarywang commented May 20, 2022

Copy link
Copy Markdown
Owner

感谢PR,如果能有些单元测试代码那就更好了

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@binarywang binarywang added this to the 4.3.4 milestone May 20, 2022
@hallkk

hallkk commented May 20, 2022

Copy link
Copy Markdown
Author

感谢PR,如果能有些单元测试代码那就更好了

这种业务接口调用,应当如何添加单元测试?
尝试写,发觉很难;如果去mock返回,也失去了真实性,无法达到测试的效果

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@binarywang

binarywang commented May 20, 2022

Copy link
Copy Markdown
Owner

mock返回即可,只要mock的数据格式跟实际返回一致,使得代码正确运行就可以

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@binarywang
binarywang merged commit 529f786 into binarywang:develop May 22, 2022
@hallkk
hallkk deleted the feature_partner_payscore branch May 27, 2022 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@binarywang binarywang binarywang left review comments
@sonatype-lift sonatype-lift[bot] sonatype-lift[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

4.3.4

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@hallkk @binarywang
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.