Files
smart-wx-demo/.env.example
T
2026-01-12 18:01:04 +08:00

22 lines
697 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 企业微信API配置示例
# 复制此文件为 .env 并填入实际的值
# 企业ID
WEIXIN_CORP_ID=${WEIXIN_CORP_ID}
# 应用的Secret
WEIXIN_CORP_SECRET=${WEIXIN_CORP_SECRET}
# API基础URL(可选,默认为 https://qyapi.weixin.qq.com)
WEIXIN_CORP_URL=https://qyapi.weixin.qq.com
# 企业成员userid(用于获取客户列表)
# 注意:这个成员需要配置了客户联系功能
WEIXIN_USER_ID=zhangsan
# 外部联系人ID(用于测试获取客户详情)
# 注意:这个ID需要通过其他接口(如获取客户列表)获取
# WEIXIN_EXTERNAL_USER_ID=''
WEIXIN_EVENT_TOKEN=${WEIXIN_EVENT_TOKEN};
WEIXIN_EVENT_ENCODING_AES_KEY=${WEIXIN_EVENT_ENCODING_AES_KEY};