Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望支持私有化部署的企业微信 #272

Closed
chaos-cn opened this issue Mar 15, 2022 · 6 comments
Closed

希望支持私有化部署的企业微信 #272

chaos-cn opened this issue Mar 15, 2022 · 6 comments

Comments

@chaos-cn
Copy link

chaos-cn commented Mar 15, 2022

在本项目使用的weixin-java-cp-4.1.0.jar -> me.chanjar.weixin.cp.config.impl.WxCpDefaultConfigImpl.class:50
中存在如下代码:
if (this.baseApiUrl == null) { this.baseApiUrl = "https://qyapi.weixin.qq.com"; }
默认是直接调用腾讯官方的企业微信服务器,但是企业微信支持私有化部署,当私有化部署时此域名会发生变化

我在本项目的 com.fangxuele.tool.push.logic.msgsender.WxCpMsgSender 第89行
增加configStorage.setBaseApiUrl("https://myserver.host.com/");
测试后验证通过,推送功能正常

希望作者能将此功能加入设置的配置项中,兼容官方企业微信和私有化部署版企业微信的推送功能。

@wq57wq57
Copy link

wq57wq57 commented Sep 2, 2023

@rememberber
Copy link
Owner

好的

@rememberber
Copy link
Owner

已支持,请下载最新版

@chaos-cn
Copy link
Author

@rememberber 初步测试了一下,功能正常,但是UI样式上存在若干问题

本机环境

WePush_5.0.2
M1 Mac 13.5.2
openjdk version "17.0.7" 2023-04-18 LTS

问题一 初始打开时 “私有BaseApiUrl” 可见性有问题

default.mp4

问题二 图文消息编辑框不一致

default.mp4

@rememberber
Copy link
Owner

感谢反馈,我处理下

@rememberber
Copy link
Owner

@rememberber 初步测试了一下,功能正常,但是UI样式上存在若干问题

本机环境

WePush_5.0.2 M1 Mac 13.5.2 openjdk version "17.0.7" 2023-04-18 LTS

问题一 初始打开时 “私有BaseApiUrl” 可见性有问题

default.mp4

问题二 图文消息编辑框不一致

default.mp4

@chaos-cn 已解决,更新最新版试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants