How to implement this business logic? Pets work offline and grow regularly, how to achieve it with php+mysql
Make a table with two columns, one records the initial offline timestamp, and the other records the next online timestamp,
Two tables, one table records the online and offline time, and the other table records the work record and growth record. . .
Make a table with two columns, one records the initial offline timestamp, and the other records the next online timestamp,
Two tables, one table records the online and offline time, and the other table records the work record and growth record. . .