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 — :art: #3694 #3433 小程序、支付、开放平台、微信视频号/微信小店 等 starter 中缺少对于微信基础地址的反向代理字段支持 by shuiyihan12 · Pull Request #3695 · binarywang/WxJava

Conversation

@shuiyihan12

@shuiyihan12 shuiyihan12 commented Sep 3, 2025 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

对 #3433 #3694 进行合并提交

支持对于 小程序、支付、开放平台、微信视频号/微信小店 等starter 对于微信基础地址进行反向代理配置,便于内网部署使用。

ps: 本次更改不涉及公众号和企点 ,其 starter 已支持该配置

WxJava 各模块 URL 字段配置表

模块 核心字段 Starter字段 默认值 说明
MP apiHost hosts.apiHost https://api.weixin.qq.com 公众号 API 域名
MP mpHost hosts.mpHost https://mp.weixin.qq.com 公众号管理域名
MP openHost hosts.openHost https://open.weixin.qq.com 开放平台域名
Miniapp apiHostUrl apiHostUrl https://api.weixin.qq.com 小程序 API 域名
Miniapp accessTokenUrl accessTokenUrl - 自定义 Token 获取地址
Pay apiHostUrl (统一) apiHostUrl (统一) https://api.mch.weixin.qq.com 支付 API 域名 (已统一)
Pay notifyUrl (新增) notifyUrl (新增) - 支付异步回调地址 (新增)
Pay payScoreNotifyUrl payScoreNotifyUrl - 支付分回调地址
Pay payScorePermissionNotifyUrl (新增) payScorePermissionNotifyUrl (新增) - 支付分授权回调地址 (新增)
CP baseApiUrl baseApiUrl https://qyapi.weixin.qq.com 企业微信 API 域名
Channel apiHostUrl apiHostUrl https://api.weixin.qq.com 视频号 API 域名
Channel accessTokenUrl accessTokenUrl - 自定义 Token 获取地址
Open apiHostUrl apiHostUrl https://api.weixin.qq.com 开放平台 API 域名
Open accessTokenUrl accessTokenUrl - 自定义 Token 获取地址
Qidian apiHost (MP) hosts.apiHost https://api.weixin.qq.com 企点 API 域名
Qidian openHost hosts.openHost https://open.weixin.qq.com 企点开放平台域名
Qidian qidianHost hosts.qidianHost https://api.qidian.qq.com 企点专用 API 域名
# 单实例配置示例
  wx:
    mp:
      hosts:
        api-host: http://proxy.company.com:8080
        mp-host: http://mp-proxy.company.com:8080

    miniapp:
      api-host-url: http://proxy.company.com:8080
      access-token-url: http://token-service.company.com/miniapp/token

    pay:
      api-host-url: http://pay-proxy.company.com:8080

    cp:
      base-api-url: http://cp-proxy.company.com:8080

    channel:
      api-host-url: http://proxy.company.com:8080
      access-token-url: http://token-service.company.com/channel/token

    open:
      api-host-url: http://proxy.company.com:8080
      access-token-url: http://token-service.company.com/open/token

  # 多实例配置示例
  wx:
    miniapp:
      apps:
        tenant1:
          api-host-url: http://tenant1-proxy.company.com:8080
          access-token-url: http://token-service.company.com/tenant1/token

Sorry, something went wrong.

Uh oh!

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

All reactions
@shuiyihan12
🎨 binarywang#3694 binarywang#3433 统一各模块URL字段命名为apiHostUrl并完善Spring Bo…
ffe31c2
…ot starter配置支持
This was linked to issues Sep 4, 2025
开放平台接口地址支持配置化 #3433
Closed
小程序、支付、开放平台、微信视频号/微信小店 等 starter 中缺少对于微信基础地址的反向代理字段支持 #3694
Closed
@binarywang
binarywang merged commit 8447caa into binarywang:develop Sep 4, 2025
@binarywang binarywang added this to the 4.7.8 milestone Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

4.7.8

Development

Successfully merging this pull request may close these issues.

小程序、支付、开放平台、微信视频号/微信小店 等 starter 中缺少对于微信基础地址的反向代理字段支持 开放平台接口地址支持配置化

Uh oh!

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

2 participants

@shuiyihan12 @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.