hughcube / demo
The Laravel Framework.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.3
- ext-pdo: *
- ext-xhprof: *
- hughcube/laravel-alifc: ^3.0
- hughcube/laravel-dingtalk: ^1.0
- hughcube/laravel-knight: ^5.0
- hughcube/laravel-octane: ^2.0
- hughcube/profiler: ^1.0
- laravel/framework: ^10.8
- laravel/octane: ^2.3
- laravel/sanctum: ^3.2
- laravel/tinker: ^2.8
This package is auto-updated.
Last update: 2024-04-23 02:51:29 UTC
README
创建项目
部署步骤
-
创建阿里云函数服务
- 创建时候禁用日志服务(因为会生成一个默认的日志仓库需要费用)
- 编辑服务, 开启nas存储, 挂载远程目录: /fun/服务名/storage, 挂载本地目录: /mnt/storage
-
创建schedule函数
- 添加定时触发器
-
创建api函数
- 添加禁止消费消息队列环境变量HUGHCUBE_ALIFC_ALLOW_FIRE_JOB=0
定时触发器payload
{ "uuid":"a5136bab-cee7-410b-aabe-f3422797b145", "displayName":"App\\Jobs\\AAAScheduleJob", "job":"Illuminate\\Queue\\CallQueuedHandler@call", "maxTries":null, "maxExceptions":null, "failOnTimeout":false, "backoff":null, "timeout":null, "retryUntil":null, "data":{ "commandName":"App\\Jobs\\AAAScheduleJob", "command":"O:23:\"App\\Jobs\\AAAScheduleJob\":0:{}" }, "createdAt":"2022-04-10T02:28:02.413940+08:00" }