永夜 Blog

在一段时间后,突然发现自定义验证规则的 message 中翻译不可用。验证失败时响应的 message 未被翻译 0

In Laravel 6, Module, the translation of unavailable translations in the message of custom validation rules (caused by delay provider)

浏览量: 8 1. Reference:https://www.shuijingwanwq.com/2022/04/26/6341/ 2. After a period of time, I suddenly found that the translation in the message of the custom verification rule is not available. Message that responds when validation fails is...

结果:_downloads/2022/05/25/1653468314.0994.1295326141.zip。预期为:theme_downloads/2022/05/25/1653468314.0994.1295326141.zip 0

Troubleshooting Analysis of String Loss Before Underscore When Deleting Other Characters at the Starting String Using Function ltrim in PHP 7.4

浏览量: 8 1. The value of the string: E:\wwwroot\object\storage\app/theme_dow nloads/2022/05/25/1653468314.0994.1295326141.zip 2. Values of other characters: E:\wwwroot\object\storage\app/ 3. The code is implemented as follows 4. Results: _downloads/2022/05/25/1653468314.0994.1295326141.zip. Expected is: Theme_Downloads/2022/05/25/1653468314.0994.1295326141.zip. as shown in Figure 1...

执行 php artisan config:clear 时,报错:ErrorException : include(E:\wwwroot\object\vendor\composer/../../Modules/ThemeStoreGraphQL/Providers/GraphQlResolverServiceProvider.php): failed to open stream: No such file or directory 0

When executing php artisan config:clear, an error is reported: ErrorException : include(e:\wwwroot\object\vendor\composer/../../modules/them eStoreGraphQL/Providers/GraphQLResolverServiceProvider.php): Failed to open stream: no such file or directory

浏览量: 10 1. When executing php artisan config:clear, an error is reported: ErrorException : include(e:\wwwroot\object\vendor\composer/../../modules/them eStoreGraphQL/Providers/GraphQLResolverServiceProvider.php): Failed to open stream: no such file or directory. as shown in Figure 1 2. Confirm the file...