路由 Route::get('post-moment-import', [\App\Http\Controllers\IndexController::class, 'postMomentImport']); Route::get('post-moment', [\App\Http\Controllers\In...
<?php namespace app\controller; use app\BaseController; use think\helper\Arr; use think\helper\Str; use think\Request; class Automatic { protected $mod...
在Command里请求控制器里的方法 $params = [ 'type' => 'type' ]; $controller = app()->make(ReportController::class); $data = app()->call([$controlle...
以下业务场景, 有什么好的mysql方案系统最繁忙的交易订单表, 每秒600笔交易, 每天大概2000-3000万笔交易。交易7*24, 不能停机。交易流水需要永久联机查询, 每笔交易...
介绍 Jin-microservices是基于 php 语言 + hyperf 微服务 框架的完整微服务demo。github:github.com/Double-Jin/jin-microser...gitee:gitee.com/ljj96/jin-microservi...
在中间件中return response()->json()合理吗? <?php class GasTencentTest { /** * Handle an incoming request. * * @param \Illuminate\H...
地址:github.com/eryajf/read-list 如果你还有其他想要加入到订阅列表里的博客或周刊,欢迎通过issue进行反馈,或者直接通过PR进行提交!
有几十个需要秒级执行的任务 想用第三方工具执行现在写了curl定时访问url的形式 好像curl的形式 程序执行时间久了不会执行完毕如果想直接执行PHP文件 laravel怎么写喃?...
src/Illuminate/Container/Container.php有下面这段代码,其中$container这个参数是没有的,这里为什么可以这样用? /** * Get the Closure to be used when buildi...
github.com/pndx/Seo-pusher 一般composer包要怎么处理这个config?
2022-06-14更新:服务绑定只是服务提供者的其中一个功能,还有其他的我还没有搞懂作者的设计思想 当我有一个发送短信的需求,我可以写一个接口类(App\Libraries\Interfa...
前言 在开发过程中异常处理是经常用到的,相信大部分使用try、catch、finally的只知道try中出现异常catch中会捕获,finally块中代码何时都会执行。其中还有很多细微的知...
社交账号:
我要举报该,理由是: