| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
There was a problem hiding this comment.
本PR为微信小程序SDK新增了用工关系API支持,实现了解绑用工关系和推送用工消息两个服务端接口。
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file| File | Description |
|---|---|
| WxMaApiUrlConstants.java | 新增Employee接口常量,定义解绑和推送消息的API URL |
| WxMaUnbindEmployeeRequest.java | 解绑用工关系请求实体,包含openid和corpId字段 |
| WxMaSendEmployeeMsgRequest.java | 推送用工消息请求实体,包含openid、corpId和msg字段 |
| WxMaEmployeeRelationServiceImpl.java | 用工关系服务实现类,调用微信API完成解绑和推送操作 |
| BaseWxMaServiceImpl.java | 在主服务类中实例化并注册用工关系服务 |
| WxMaService.java | 在服务接口中新增getEmployeeRelationService()方法 |
| WxMaEmployeeRelationService.java | 用工关系服务接口,定义unbindEmployee和sendEmployeeMsg方法 |
Sorry, something went wrong.
Sorry, something went wrong.
|
auggie review |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
微信小程序新增了用工关系能力,需要支持解绑用工关系和推送用工消息两个服务端API。
实现内容
新增Bean类
新增服务
API集成
使用示例
参考文档
注:绑定和检查用工关系为小程序端API(wx.bindEmployeeRelation/wx.checkEmployeeRelation),无需服务端实现。
Original prompt💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.