|
@@ -8,13 +8,13 @@ import com.backendsys.modules.sdk.tencentcloud.ems.service.TencentEmsCallbackSer
|
|
|
import com.tencentcloudapi.common.exception.TencentCloudSDKException;
|
|
|
import io.swagger.v3.oas.annotations.Operation;
|
|
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
+import jakarta.servlet.http.HttpServletRequest;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
-import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
|
@RestController
|
|
|
@Tag(name = "腾讯云-邮件回调")
|
|
@@ -42,7 +42,7 @@ public class TencentEmsController {
|
|
|
request.getHeaderNames()
|
|
|
.asIterator()
|
|
|
.forEachRemaining(name -> {
|
|
|
- String value = request.getHeader((String) name);
|
|
|
+ String value = request.getHeader(name);
|
|
|
System.out.println(name + " : " + value);
|
|
|
});
|
|
|
System.out.println("===============================");
|