Stage 5 3. Micro Services [online] studies _day03 CMS page management development _09- modify the page - the server - Interface Development




You need to write two interfaces

define two methods within the api interface. Modify the place alone pass id

Write Service


First check whether there is data to be modified 




controller



Json modified data to be submitted. Will be used here @RequestBody


modified data







 

Guess you like

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