17 lines
522 B
Markdown
17 lines
522 B
Markdown
php81 think cron:schedule 定时
|
|
php81 think queue:listen 队列
|
|
php81 think queue:work 执行
|
|
|
|
//数据库清除
|
|
TRUNCATE TABLE la_company;
|
|
TRUNCATE TABLE la_contract;
|
|
TRUNCATE TABLE la_task;
|
|
TRUNCATE TABLE la_task_scheduling;
|
|
TRUNCATE TABLE la_task_scheduling_plan;
|
|
TRUNCATE TABLE la_task_template;
|
|
TRUNCATE TABLE la_user_informationg;
|
|
TRUNCATE TABLE la_user_informationg_demand;
|
|
TRUNCATE TABLE la_user_account_log;
|
|
UPDATE `worker_task`.`la_user` SET `deposit` = 0, `user_money` = 0;
|
|
DELETE FROM la_admin WHERE id != 1;
|