Ask a design question, can the app backend interface and the operator backend interface share logical business services?

for example, they all operate on user data, on order data. App also needs to add, delete, change and check, and the operation backend also needs to add, delete, change and check the interface. Can this set of service services be shared by all, or can they be split into two micro-service systems?

Mar.14,2021

try to keep the coupling as low as possible to avoid pulling one to start the whole body. Abstract the public method parent class, background and append extension and rewrite as much as possible.


abstract all common operations into generic classes in the common project, and other projects can reuse code. (it's flexible to write two sets of the same code, but it's tiring to write two sets of the same code. )


is it guaranteed to be the same all the time? Personal opinions are still separate and convenient to maintain

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-1beabc9-31a18.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-1beabc9-31a18.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?