Does Spring: controller need to provide an interface like service, and then write an Impl class?

does Spring: controller need to provide an interface like service, and then write an Impl class?

Mar.22,2021

Controller is equivalent to the facade of a store, no one wants to enter the door of the fresh supermarket, as a result, it sells decoration materials. What Service provides is a function, and the salesperson in a store, who is going to be the salesperson, all do the same thing. So, it's not necessary.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c1fd6c-33494.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c1fd6c-33494.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?