当前位置:网站首页>"Developer theory" multi system integrated development - rapid nailing of enterprise owned systems
"Developer theory" multi system integrated development - rapid nailing of enterprise owned systems
2022-06-25 21:10:00 【Nailing developer community】

“ stay 2020 At the beginning of the year, the epidemic broke out , It's time for Hu Tian to fly snow again , Nails, like pear blossoms brought by the spring breeze in one night, bring us hope and strength , From the initial approval 、 To do 、 Use of basic functions such as schedule , To the later internal integrated development , Office efficiency is improved step by step , The digital concept is gradually integrated into our work .”
——「 developer 」 say
01 First acquaintance nail —— All of a sudden, spring breeze comes
20 At the beginning of the year, Chongqing Pinsheng Technology Co., Ltd. officially gave up the OA product , Enable pinning . Although it is not spring , But it was like a spring breeze , Just after the bitter winter surrounded by the epidemic , It brings warmth to the company . At the time , Although some people are not used to switching from old products , But from the feedback of the people who have used it , The effect is still very ideal . Intelligent approval 、 To do 、 Calendar 、 Video conference and other functions , In the real realization of paperless office , Also obviously feel the improvement of work efficiency , And data visualization can be analyzed , More convenient for enterprise management .
02 First experience of application development —— Hold your mind , Hit the pain point
“ After starting to use nails , As a developer , I also started to solve the problem of integrated development of nail business between different systems . With the expansion of the company's business , Archiving of contact records we are using Yunshu CRM System , The necessary business system of the supply chain adopts Kingdee ERP, So the first problem I need to solve is Yunshu 、 Kingdee ERP Integrated development with nailing system .”
——「 developer 」 say
( One ) Yunshu BPM Integration with nailing system
Basic integration —— Realize nail free login
The basic integration can embed the cloud hub as a small program into the workbench to achieve one click login free , And the process message can be sent to nail .


Key capabilities of nails used :
A notification mechanism : Business message notification —— Message notification Overview
Authority verification : Basic ability to authorize login free permission —— Authentication ( No registration )
Data synchronization : Organization structure and personnel information are automatically synchronized —— Enterprises OA The system is synchronized with the pin address book
Secondary development integration —— It is suggested that the data synchronization notification and early warning mechanism
Customized pages and functions on the cloud hub need to be integrated into nailing through secondary development .
Solution scenario :
During data synchronization , Yunshu and Kingdee ERP Two way synchronized roster 、 Express information after these data , If the synchronization fails, you need to push a message to the nail to notify the maintenance personnel .
Method : First of all, you can use postman Debug the communication authorization interface , But at first, the nail interface was configured IP White list restrictions , It was not found during the development process, so it has not been adjusted . Later, the intermediate server is used as the proxy , To facilitate debugging . Then according to the authorized token Call the message interface that sends the work notification , The message format has text 、 card 、markdown And so on , Very rich , Can intuitively express the content .
Key capabilities of nails used :
Data synchronization : Intelligent personnel —— Intelligent personnel
Authority verification : Basic competence of authority —— Authentication ( No registration )
A notification mechanism : Notice of news —— Notice of news
( Two ) Kingdee ERP Integration with nails
Basic integration — Realize nailing and Kingdee ERP System account interworking and login free
Solution scenario :
Kingdee ERP The system realizes one click login free on the nailing workbench , Log in to the internal system of the enterprise through the pin account .
Method :
Nailing can only hang fixed jump on self built applications URL Address , Therefore, it is inappropriate to directly put Kingdee's single sign on authorization address . After carefully reviewing the nail documentation, I found that the nail H5 Front end of micro application api The details of each user can be dynamically obtained at the client , Think about using a jump page to support this function .
Create a new one in the background H5 application , Get into “ Set up — Development management — App home address ” Put in a custom open jump page address accessible from the public network ;
Introduce... In the jump page H5 Micro applications jsapi, Add... To the page dd.ready When loading, you can use jsapi Interface (runtime.permission.requestAuthCode) Get the authorization code code;
Then call the server interface Obtain user information through registration free code
Then, the user name and the three-party authorization parameter information provided by Kingdee are used to obtain Kingdee ERP The login TOKEN;
The Kingdee system can realize one click login free on the nailing workbench

The nail key used can :
H5 Microapplication :jsapi:dd.runtime.permission.requestAuthCode({})—— Obtain the micro application registration free authorization code
Get access credentials :
Server side API- Get the internal application of the enterprise access_token
Authentication ( No registration ):
Server side API- Obtain user information through registration free code
Address book management
Server side API- User management - according to userId Get user details
03 The change brought about by nailing —— Thousands of trees and thousands of pear blossom
Although the initial process is painful , But the rainbow after the rain is beautiful . up to now , The integration of Pinsheng and nailing mainly focuses on the integration of three-party systems , Including Yunshu 、 Kingdee 、 Cloud box 、 Staples and other systems , Multiple application systems are placed on the nailing workbench , Implements the collection of entries , And the account number is opened to realize the login free on the nailing workbench .



边栏推荐
- Feature Engineering in simple terms – a practice guide based on openmldb (Part 1)
- Instant aesthetics of the Centennial Olympic Games: beauty in the air, condensed in minutes and seconds - Alibaba cloud video cloud AI editorial department "cloud smart scissors"
- MySQL operation Basics
- 1.0-mq getting started and using
- Introduction to the basics of kotlin language: lambda expression
- Patrol script
- R language momentum and Markowitz portfolio model implementation
- Boomfilter learning
- Yanjiehua, editor in chief of Business Review: how to view the management trend of business in the future?
- Exploration of advanced document editor design in online Era
猜你喜欢
MySQL lock

Illustrated with pictures and texts, 700 pages of machine learning notes are popular! Worth learning

Cvpr2020 | the latest cvpr2020 papers are the first to see, with all download links attached!
The secret of metaktv technology of sound network: 3D space sound effect + air attenuation + vocal blur

Lantern Festival, learning at the right time! Novice training camp attacks again, learning buff continues to fill up
[data recovery in North Asia] a data recovery case in which the upper virtual machine data is lost due to the hard disk failure and disconnection of raid6 disk array

Insert and update each database
Causes and solutions of unreliable JS timer execution

1.0-mq getting started and using

Yolov4 reading notes (with mind map)! YOLOv4: Optimal Speed and Accuracy of Object Detection
随机推荐
Day 29/100 local SSH password free login to remote
IPv4 and IPv6 (powercert animated videos)
R language quantile autoregressive QAR analysis pain index: time series of unemployment rate and inflation rate
Leetcode daily [2022 - 02 - 17]
What is DNS (domain name server)? (Powercert animated videos)
Attention to government and enterprise users! The worm prometei is spreading horizontally against the local area network
Jingxi Pinpin wechat applet -signstr parameter encryption
ZABBIX foundation details
Xshell mouse configuration
Openocd compilation and installation
Vbpr (visual Bayesian personalized ranking) paper summary
Section 13: simplify your code with Lombok
js(3)
Lesson 3 urllib
同花顺炒股软件开户是合法的吗?安全吗
Docker failed to remotely access 3306 after installing MySQL
Molecular dynamics - basic characteristics of molecular force field
HMS core actively explores the function based on hardware ear return, helping to reduce the overall singing delay rate of the singing bar by 60%
Illustrated with pictures and texts, 700 pages of machine learning notes are popular! Worth learning
What is API