首页>
外国专利>
INTERFACE CALL RECORDING METHOD, APPARATUS, DEVICE, AND STORAGE MEDIUM BASED ON DJANGO FRAMEWORK
INTERFACE CALL RECORDING METHOD, APPARATUS, DEVICE, AND STORAGE MEDIUM BASED ON DJANGO FRAMEWORK
展开▼
机译:基于DJANGO框架的界面呼叫记录方法,装置,设备和存储介质
展开▼
页面导航
摘要
著录项
相似文献
摘要
Provided is an interface call recording method based on the Django framework, comprising the following steps: detecting whether there currently exists a start signal of an interface call request initiated by a front end (S110); if the start signal of said interface call request currently exists, then triggering a custom middleware to create a custom thread shared variable to record the request information carried in the interface call request (S120); detecting whether there currently exists an end signal or an abnormal signal of the interface call request (S130); if an end signal or abnormal signal of the interface call request currently exists, then obtaining the request information recorded by the thread shared variable and saving it to a preset database (S140). The method allows the back end to directly obtain the request information of the interface call, improving the convenience of interface call recording.
展开▼