Monthly Archive: May 2025

在 PhpStorm 中,提示:通过子类引用的基类 '\common\models\ConventionParticipantShareRecipient' 中的常量 0

In phpstorm, hint: base class referenced by subclass\common\models\conventionparticipantsharerecipientconstant in the constant. How to cancel the prompt?

浏览量: 15 1. In phpstorm, the prompt: the base class referenced by the subclass\common\models\conventionparticipantsharerecipientconstant in the constant. as shown in Figure 1 2. The code is implemented as follows common/models/conventionparticipantsharerecipient.php api/models/conventionparticipantsharerecipient.php API/Controllers/ConventionParticipantShareRecipientController.php 3. The...

在 Postman 中请求 https 接口响应成功,在前端页面中请求 https 接口无响应,控制台中报错: net::ERR_CERT_AUTHORITY_INVALID 0

Requesting the HTTPS interface in Postman is successful, the requesting HTTPS interface in the front-end page is unresponsive, and an error is reported in the console: net::err_cert_authority_invalid

浏览量: 20 1. The request for the HTTPS interface in Postman is successful, the request for the HTTPS interface in the front-end page is unresponsive, and an error is reported in the console: net::ERR_cert_authority_invalid....

当响应为非 图片 Buffer 时,写入图片文件中的数据有误。图片无法打开。最终决定通过 响应头 Content-Type 来进行区分 0

When requesting to obtain unlimited applet code interface, it is possible to respond: picture buffer . Possible response: JSON string. The response format is set to: raw-urlencoded . How to determine whether the interface request is a success or a failure?

浏览量: 19 1. The PHP code is implemented as follows 2. When the response is a non-picture buffer, the data written in the picture file is incorrect. Image cannot be opened. The final decision...

在 LNMP 2.1 中 执行 lnmp nginx reload 时报错:Reload nginx... nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /usr/local/nginx/conf/vhost/xxx.yyy.cn.conf:46 0

Warning when executing lnmp nginx reload in lnmp 2.1: reload nginx… nginx:[warn]The “listen … http2” directive is deprecated, use the “http2” directive instead /usr/local/nginx/conf/vhost/xxx.yyy.cn.conf:46

浏览量: 19 1. When executing lnmp nginx reload in lnmp 2.1, an error is reported: reload nginx… nginx:[warn]The “listen … http2” directive is deprecated, use the “http2” directive instead /usr/local/nginx/conf/vhost/xxx.yyy.cn.conf:46. as shown in Figure...