Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for automatically configuring interface front-end codes

A technology for configuring interfaces and codes, which is applied in code compilation, program code conversion, creation/generation of source code, etc. It can solve problems such as the inability to automatically generate front-end interface files, and achieve the effect of improving development efficiency

Pending Publication Date: 2022-01-11
SHANGHAI ZHONGTONGJI NETWORK TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to overcome at least to a certain extent the problem that the corresponding front-end interface file cannot be automatically generated afte

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for automatically configuring interface front-end codes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0028] A method for automatically configuring interface front-end code, refer to figure 1 ,include:

[0029] S11: Real-time detection of the state of the back-end code;

[0030] In this embodiment, the status of the back-end code is detected in real time, so as to ensure that the front-end interface is updated in real time.

[0031] S12: After the back-end code is updated, analyze the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method for automatically configuring an interface front-end code, which comprises the following steps: detecting the state of a back-end code in real time, analyzing the back-end code after the back-end code is updated, and identifying the current request path, request method and request parameter type of back-end service; obtaining a front-end code, analyzing the front-end code, and identifying a current configuration file in the front-end code; and replacing the current request path, the request method and the type of the request parameter of the back-end service to the corresponding part of the current configuration file in the front-end code to generate a front-end interface file. According to the invention, the key part in the back-end code is extracted, then the front-end interface file is automatically generated according to the front-end configuration file, and the development efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of front-end development, in particular to a method for automatically configuring interface front-end codes. Background technique [0002] With the development of IT technology, the service governance platform generally generates a visual interface through the back-end code and simulates random / fixed data for front-end calls. Based on this, the front-end interface file can be generated through the back-end code to improve the work efficiency of the front-end development. Specifically, in the prior art, the request path and request method required by the front end are identified through the code provided by the back end, extracted, and a corresponding interface file is generated. At the same time, the API file can also be configured. By default, the request method name and the request path name are unified, and the request method name can also be modified through configuration. You can also modify...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/38G06F8/30G06F8/41G06F8/65G06F9/445
CPCG06F8/38G06F8/315G06F8/42G06F8/427G06F8/65G06F9/44505
Inventor 黄娟雷雨
Owner SHANGHAI ZHONGTONGJI NETWORK TECH CO LTD