[功能请求] 修改 WebAPI 代码,减少传输数据的一点想法

作者: vonaxs创建于 2025年4月2日更新于 2025年7月6日
标签feature-request

Feature request

The code in /src/Controllers/WebAPI/UserController.php is as follows: )->get([ 'id', 'u', 'd', 'transfer_enable', 'node_speedlimit', 'node_iplimit', 'method', 'port', 'passwd', 'uuid', ]); return ResponseHelper::successWithDataEtag($request, $response, $users);

Since the u and d values of the user are constantly changing, the hash value calculated by the successWithDataEtag method is also constantly changing. As a result, the data returned to clients such as V2RAY is always complete data.

内容来源: Anankke/SSPanel-UIM