当前位置:网站首页>Odoo project sends information to wechat official account or enterprise wechat
Odoo project sends information to wechat official account or enterprise wechat
2022-06-23 08:03:00 【Mysterious world】
odoo client.message.send_text
odoo Send information to wechat
stay odoo When developing projects on the platform, it is sometimes necessary to connect with other platforms to send information .
Here I write one odoo Examples of sending information to enterprise wechat .
You can leave a message if you have any questions !
corpID: Enterprises in wechat official account ID
agentId : First, in the WeChat official account - application - Create an Create application under , After creation, it will display agentId
secret: First, in the WeChat official account - application - Create an Create application under , After creation, it will display secret
numbers: numbers Select the personnel account string data to be sent ; Example —— ‘Quan|XiaoXin’, For more than one person, you can use “|” Split splice
@api.multi def send_activity_meg(self): numbers = [re.wx_number + '|' for re in self.registration_ids] # Here are three data for obtaining wechat official account corpID = 'wwd0fa7b2d99da5810' agentId = '1000003' secret = 'I3NLAkheWsBLZdAc-akf24-iGthbknmwgVntV4XESHw' client = WeChatClient( corpID, secret ) client.message.send_text(agentId, numbers, ' Here is the information data to be sent ')
边栏推荐
- GTEST死亡测试
- aquatone工具 中的2个bug修复
- 数学知识:快速幂—快速幂
- Interview questions of a company in a certain month of a certain year (1)
- 2022山东大学软件学院软件项目管理期末考试(回忆版)
- 5本财富自由好书的精华
- Matlab random volatility SV, GARCH using MCMC Markov chain Monte Carlo method to analyze exchange rate time series
- Start appium
- php序列化和反序列化-ctf
- MySQL系统表介绍
猜你喜欢

QT reading XML files using qdomdocument

某年某月某公司的面试题(1)

transform的结构及用法

Commonly used bypass methods for SQL injection -ctf
![Match 56 de la semaine d'acwing [terminé]](/img/f6/cd650331c819a27f17c9ce6cd0c569.png)
Match 56 de la semaine d'acwing [terminé]

A record of "from scratch" in college student accounts

Gif verification code analysis

QT project error: -1: error: cannot run compiler 'clang++' Output:mingw32-make. exe

值得反复回味的81句高人高语

vtk. JS left mouse button sliding to change window level and window width
随机推荐
深度学习------不同方法实现vgg16
qt 不规则图形 消除锯齿
Decomposition - command injection
AVL树的实现
The road to hcip MPLS
js中的同步和异步
浅析 Open API 设计规范
transform的结构及用法
domain controller
openni. utils. OpenNIError: (OniStatus.ONI_STATUS_ERROR, b‘DeviceOpen using default: no devices found‘
Commonly used bypass methods for SQL injection -ctf
Configuration asmx not accessible
快速排序 + 冒泡排序 + 插入排序 + 选择排序
unity 音频可视化方案
2. probability theory - axiom of probability theory
PHP serialization and deserialization CTF
帆软堆积图显示占比
View the file once a second and send the result of the last line of the file to the syslog server
2022 final examination of software project management of School of software, Shandong University (recall version)
Socket socket programming