Monthly Archive: January 2022

测试队列是否生效,重启 ECS 后,新建一个话题,其详情页面的网址为:https://fanxiapp-wangqiang-larabbs.shuijingwanwq.com/topics/105 。刷新一下,其会 301 跳转至:https://fanxiapp-wangqiang-larabbs.shuijingwanwq.com/topics/105/a-german 。表明队列生效中 0

Laravel 8.x (LaRaBBS) is deployed to Alibaba Cloud ECS, based on MySQL, Redis, Supervisor, crontab implementation

浏览量: 17 1. Laravel 8.x (LaraBBS) has been implemented in the local development environment. as shown in Figure 1 2. Based on Xshell 7, log in to Alibaba Cloud ECS. View the operating system...

查看日志中的生成的原生 SQL 语句 0

In Laravel 6, since the field name of the interface responds in the form of hump, and the name of the table field is underlined in the form of lowercase letters, the processing of mutual conversion

浏览量: 14 1. The name of the table field is in the form of lowercase letters and underscores. as shown in Figure 1 2. The interface is implemented based on GraphQL, and the field...

执行请求:"query": "query{ onlineStoreTheme(themeId: "vogue"){ id editable createdAt publishAt } }", 时,响应 Argument 1 passed to App\\Exceptions\\Handler::report() must be an instance of Exception, instance of TypeError given, called in E:\\wwwroot\\wshop\\platform\\vendor\\nuwave\\lighthouse\\src\\Execution\\ReportingErrorHandler.php on line 39。 0

In Laravel Framework 6.20.40, Nuwave/Lighthouse V5.33.1, an error is reported: Argument 1 Passed to App\\Exceptions\\Handler::report() must be an instance of exception, instance of typeError given, called in E:\WWRoot\\Object\Vendor\\nuwave\Lighthouse\src\execution\\reportingErrorHandler.php on line 39

浏览量: 50 1. Execute request: “query”: “query{ onlineStoreEtheme(themeid: “vogue”){ id editable createAt PublishAt }”, when the response Argument 1 Passed to App\\Exceptions\\Handler::report() must be an instance of exception, instance of typeError given, called in...

使用 php artisan module:make Blog 生成你的第一个模块。 将生成以下结构。由于文档的版本是针对 v6 的,而现在程序的最新版本是 v8,因此,目录结构有所出入 0

Modular Example Implementation in Laravel 8

浏览量: 55 1. Search in GitHub: Laravel Module, select the first result: NWidArt / Laravel-Modules. It supports module management in Laravel. 2. Reference URL: https://nicolaswidart.com/blog/writing-modular-applications-with-laravel-modules . Why use this package, write modular applications using...

执行数据填充成功后,访问 /graphql 并尝试以下的查询。获取到数据库中所有 posts 的列表,以及全部 comments 和 user 的 name。符合预期 0

Getting Started with Building a GraphQL Server with Lighthouse, Create a GraphQL API for a Simple Blog from scratch

浏览量: 15 1. Get started with the GraphQL server with Lighthouse. Reference URL:https://lighthouse-php.cn/tutorial/ 2. Create a GraphQL API for a simple blog from scratch. Create a new Laravel project via Composer: lighthouse-tutorial 3. Create...

执行 composer require 时,报错:[Composer\Downloader\TransportException] curl error 6 while downloading https://api/v4/projects/%2Fnova: Could not resolve host: api 0

When executing composer require, an error is reported:[Composer\Downloader\TransportException]Curl Error 6 while downloadinghttps://api/v4/projects/%2Fnova:Could not resolve host: API

浏览量: 17 1. When executing composer require, an error is reported:[Composer\Downloader\TransportException]Curl Error 6 while downloadinghttps://api/v4/projects/%2Fnova:Could not resolve host: API . as shown in Figure 1 2. Check the composer.json file, which contains nova-related configuration...