MCPcopy Index your code
hub / github.com/1046102779/official_account

github.com/1046102779/official_account @v1.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1 ↗ · + Follow
700 symbols 1,072 edges 48 files 117 documented · 17% updated 8y agov1.1 · 2018-03-29★ 43
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

微信公众号第三方平台

该服务采用比较流行的微服务思想,主要提供公众号授权微信支付,包括二维码支付和网页支付消息模板等公众号托管业务, 类似于金数据支付,C端用户支付的钱直接到公众号,不在平台
服务列表包括:
+ 公众号信息模块
+ 获取公众账号基本信息
+ 公众号微信支付模块
+ JSAPI微信支付
+ Native支付
+ 上传证书
+ 新增公众号支付开发参数
+ 微信消息模板通知模块
+ 从系统中删除指定的消息模板
+ 删除公众号指定的消息模板
+ 发送微信模板消息
+ 给公众号添加消息模板
+ 获取主行业列表
+ 获取公众号的消息模板列表
+ 获取副行业列表
+ 获取系统中已添加的微信消息模板列表
+ 获取设置的行业信息
+ 设置/更新公众号所属行业
+ 公众号授权模块
+ 公众号消息与事件接收URL
+ 引入用户进入授权页
+ 授权事件接收URL
+ C端用户授权模块
+ 带CODE的微信回调请求,并存储用户微信信息
+ 获取得到CODE的url请求链接

库表设计

公众号平台库表

环境依赖

  • mysql
  • rpcx微服务框架, 该框架面向服务治理
  • beego框架, 一个比较好用的web框架
  • etcd, 用于服务注册、服务发现和TTL(用于刷新公众号第三方平台的token和平台所有公众号的token)

说明

  • 希望与大家一起成长,有任何该服务运行或者代码问题,可以及时找我沟通,喜欢开源,热爱开源, 欢迎多交流
  • 联系方式:cdh_cjx@163.com

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 466
Struct 120
Function 110
Interface 4

Languages

Go100%

Modules by API surface

igrpc/account.pb.go177 symbols
igrpc/product.pb.go68 symbols
igrpc/sale.pb.go65 symbols
igrpc/sms.pb.go51 symbols
igrpc/common.pb.go39 symbols
igrpc/token.pb.go32 symbols
igrpc/message.pb.go32 symbols
models/authorized.go15 symbols
common/utils/utils.go15 symbols
models/official_accounts.go13 symbols
models/official_account_users.go13 symbols
models/message_template_external.go13 symbols

For agents

$ claude mcp add official_account \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page