当前位置:网站首页>The realization of the salary slip issuing function of WeChat public account + web background
The realization of the salary slip issuing function of WeChat public account + web background
2022-08-08 16:03:00 【hello song xianshen】
Demand Source
First of all, I will briefly introduce the business scenarios and needs. The company has to pay employees salaries every month. Before paying salaries, employees need to confirm whether the salary slips are correct.In the past, the company's personnel was taken from an excel screenshot one by one and then contacted offline one by one.This greatly affects work efficiency.
Business Processes and Ideas
What we have is the salary excel file prepared by finance, and this table needs to be imported into the back-end database first. You can use easyexcel or poi here. The back-end of the company needs to scan the face through WeChat. Indeed, at this time, we can obtain the unionid of the user.The third-party unique ID and open_id user's unique identification in the official account, and then the employee follows the official account
Summary, the prerequisites are as follows:
1. Data source: excel file import background
2. User'sopen_id and union_id
3. Messages are sent to the official WeChat account of employees, and employees need to follow the official account
Implement screenshots and specific designs
Background data page (operation page)
The content of the salary slip is a database encrypted field, which is not displayed in the front end, but is stored in the database.The main functions are to import salary content, push official account template messages, and conditionally filter salary slips
Employees receive a notification from the WeChat official account
Send a message push, and the user will receive a template message push from the WeChat official account
Employee salary details
Here is a single query interface to get the employee's salary slip content from the database
The interface related to this function
The above is the interface written by the individual to implement the business.Want to call me in the source code comment area
边栏推荐
猜你喜欢
带你玩转“超大杯”ECS特性及实验踩坑【华为云至简致远】
promise学习笔记
2022年8月中国数据库排行榜:openGauss重夺榜眼,PolarDB反超人大金仓
Share these new Blender plugins that designers must not miss in 2022
彻底理解 volatile 关键字及应用场景,面试必问,小白都能看懂!
跟我一起来学弹性云服务器ECS【华为云至简致远】
抓住时代趋势,网赚新逻辑:平台+个人模式超清晰解读(附产品评测)
web-sql注入
[Online interviewer] How to achieve deduplication and idempotency
【云原生】云原生相关技术概念总结
随机推荐
基于LEAP模型的能源环境发展、碳排放建模预测及不确定性分析
全网首发!消息中间件神仙笔记,涵盖阿里十年技术精髓
C语言学习概览(五)
掌握财富密码,运维需要了解这些技术
力扣207,课程表
leetcode/number of palindromic substrings
NFT质押挖矿分红系统开发逻辑功能介绍
我分析30w条数据后发现,西安新房公摊最低的竟是这里?
广东大学生网络安全攻防大赛CTF部分WP
leetcode/回文子字符串的个数
带你玩转“超大杯”ECS特性及实验踩坑【华为云至简致远】
2022年中国全民健身发展白皮书
【有奖征文 第13期】至简致远,“云”响世界,大胆秀出你的华为云技术主张,高额激励等你拿
[Unity Starter Plan] Making RubyAdventure02 - Handling Tile Maps & Collision
大佬们,这个测试demo只能获取到全量数据,不能获取增量,我的mysql 已经开启了row模式的bi
一文搞懂│XSS攻击、SQL注入、CSRF攻击、DDOS攻击、DNS劫持
分享这些2022设计师们决不能错过的Blender新插件
本博客目录及版权申明
抓住时代趋势,网赚新逻辑:平台+个人模式超清晰解读(附产品评测)
web-sql注入