Stage 5 3. Micro Services [online] _day09 studies courses preview preview Eureka Feign_14- curriculum development -CMS add pages Interface

5.3 CMS interface to add pages
cms services provide external interface to add pages to realize: If the page does not exist, add, or to update the page information.
This interface is called by the program management services in the course preview.


Interface method: no page is added. With updated data
interface definition is added directly before

Api defined interfaces

It is recommended that a separate definition of the interface to store pages

Implement an interface


Then implement this interface in Service


Page has a page index is composed pageName + webPath + siteId





End




 

Guess you like

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