Different solutions for copywriting of the values of the same field in the back-end table on different front-end pages

in a business scenario, the data of the same table corresponds to multiple front-end pages, and the copy corresponding to the same status value in each page is different. Currently, it is forcibly changed by the back-end and passed to the front-end, which feels that something is wrong with this form. However, there is no better solution that can greatly provide solutions for similar scenarios.

Php
Jun.27,2022

it is best to communicate with the front and rear ends with a unified type, such as time stamps in seconds, and then display different data according to the front-end format, such as 2019-02-20, February 20, 2019. It is convenient to unify the interface.


didn't you all say that the copy corresponding to the same status value is different, which means you can pass this status value to the front end and let the front end handle it itself? Otherwise, if there are other copywriters to be displayed later, do you have to change the service side?

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