The server pushes the message + modifies the data according to the database data

the server automatically pushes messages and modifies tables in Mysql according to the number of check-in records (redis) > specified by a user in the database. Field. Value

windows2012 laravel5.5 php7.1+ environment

ask for a solution

the server automatically pushes messages and modifies tables in Mysql according to the number of check-in records (redis) > specified by a user in the database. Field. Value

  1. bitmap implementation for check-in, and offset 0 for the launch date of the website
  2. specifies that the value is recorded by the database config table
  3. push messages are SMS messages. Does not affect the implementation logic
  4. the fields in the mysql table that record whether to push messages or not should be update
  5. after execution.
Apr.09,2021

idea: use laravel event listening
pseudo code:

$user->update(''$num);
if($user->''> ){
//
event(new  UserDataChangedEvent)
}

//
UserDataChangedListener  
1. 
2.mysql

that's about the way of thinking.

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