The Division of functions of mvc in mvc Framework

scenario:
write an order (order master record and order detail record) json

backend
service layer has added api

order_master
       func: add
       
order_detail
       func: add

ask whether the detail record in json is inserted by controller calling order_detail
, or is it simply thrown to order_master, to insert it?

Jul.09,2021
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-1e3f0fc-43b5d.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-1e3f0fc-43b5d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?