Stage 5 3. Micro Services [studies] _day07 online course management practical _04- new curriculum - Data Dictionary

Grade curriculum is a radio button


2.3 Data Dictionary
2.3.1 Introduction
need to choose a course grade, the new state curriculum courses such as interface, unified data dictionary information management approach adopted.
The project on the classification of some service configuration information, such as: level courses, course status, user type, user status, etc. unified management, through a few
to maintain these classified information to create a data dictionary table database.
Data Dictionary to the business classification system for unified management, and may also be hard-coded to solve the problem, such as selecting the course grade when adding courses, drop-down box
course grade will result if the information is not easy to modify a maintenance problem in the page hard-coded, so data from dictionary table get, if you want to change the name then in a few
modifications to the data dictionary, improve the maintainability of the system.
2.3.2 Data Model
to create a data dictionary table sys_dictionary in mongodb in



json course grade

front end of the course grade code


type is the type of query dictionary 200

type 200


This interface is written in the cms of the project


 

Guess you like

Origin www.cnblogs.com/wangjunwei/p/11628290.html