瘦到家开发手册

数据库迁移相关

参考:GitHub – davedevelopment/phpmig: Simple migrations system for php

# 进入后端目录
cd .\crmeb\
# 创建迁移文件,根据样例编写sql
.\vendor\bin\phpmig generate SlimWorker

服务器运维

# 客服长连接配置
php think workerman restart --d

# 定时任务配置
php think timer start --d

# 消息队列配置
php think queue:listen --queue

Was this helpful?

0 / 0

发表回复 0