|
@@ -507,9 +507,9 @@ public class GRPCController extends BaseController {
|
|
|
response.setCharacterEncoding("utf-8");
|
|
|
//2025年04月14日09:12:38 小程序,真机调用失败,尝试修改
|
|
|
// 1. 设置传输编码为chunked
|
|
|
- response.setHeader("Transfer-Encoding", "chunked");
|
|
|
- // 2. 禁用内容长度(否则会禁用chunked模式)
|
|
|
- response.setHeader("Content-Length", null);
|
|
|
+// response.setHeader("Transfer-Encoding", "chunked");
|
|
|
+// // 2. 禁用内容长度(否则会禁用chunked模式)
|
|
|
+// response.setHeader("Content-Length", null);
|
|
|
|
|
|
|
|
|
//请求参数
|