postman和curl请求接口都可以,百度小程序请求403?

对接百度小程序支付,回调的时候请求是过来了,看日志是返回了403;
自己测试接口是正常的,使用postman和curl都测试过,没有问题.
环境是lnmp.

日志: 180.97.106.147 - - [12/Jul/2019:19:05:50 +0800] "POST /baidu/index.php HTTP/1.1" 403 781 "-" "Apache-HttpClient/4.5.5 (Java/1.8.0_171)"

报403的时候,error log 是怎么样的