当前位置:网站首页>"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 .
边栏推荐
- Yunzhisheng atlas supercomputing platform: computing acceleration practice based on fluid + alluxio (Part I)
- The beginning of manjaro's journey
- How does jest expose specific problems in complex judgment conditions?
- Installing and configuring redis under Linux
- 05 configuring network parameters
- What is DNS (domain name server)? (Powercert animated videos)
- OSI notes sorting
- OLED driver learning based on ssd1306 (I): SSD Chinese command table (handling)
- Illustration tcp/ip - Chapter 3 and 4 notes
- Is Galaxy Securities reliable? Is it safe to open a securities account?
猜你喜欢
Soft test intermediate simple notes
hashlib. Md5() function to filter out duplicate system files and remove them
Bank digital transformation layout in the beginning of the year, 6 challenges faced by financial level structure and Countermeasures
Uncover n core 'black magic' of Presto + alluxio
Attention to government and enterprise users! The worm prometei is spreading horizontally against the local area network
Docker failed to remotely access 3306 after installing MySQL
Heavy update! Yolov4 latest paper! Interpreting yolov4 framework
The correct way to clear the cache of the computer. The computer will not get stuck immediately after changing. practical
Cross project measurement is a good helper for CTOs and PMOS
Understand the offline mixing technology in the industry
随机推荐
Flexible scale out: from file system to distributed file system
Yanjiehua, editor in chief of Business Review: how to view the management trend of business in the future?
How to play one to many in JPA?
Yolov4 improved version comes out! Yolov4 extended edition! Yolov4 launched scaled-yolov4: scaling cross stage partial network
Sqlmap for interface security testing
Basic knowledge of software engineering required for soft test
Unable to connect to the server remotely locally using the Jupiter notebook
Mysqldumpslow out slow statements in the database
Code program related problems troubleshooting directory
Decryption of APP parameters of a cross-border export e-commerce - dunhuang.com
Exploration of advanced document editor design in online Era
Causes and solutions of unreliable JS timer execution
Bank digital transformation layout in the beginning of the year, 6 challenges faced by financial level structure and Countermeasures
启牛学堂证券开户安全嘛?
Differences between modems and routers (powercert animated videos)
Literals and type conversions of basic data types
Get the root directory of the package at compile time from buildreoot
The latest promo! 1 minute to understand the charm of the next generation data platform
UDP Vs TCP (Powercert animated videos)
What is an app circle of friends advertisement