加redis日志

This commit is contained in:
2025-09-30 18:11:36 +08:00
parent e0004eb216
commit 8d014150a2
2 changed files with 18 additions and 0 deletions

View File

@@ -230,8 +230,10 @@ class Payment extends Controller
$timestamp = input("timestamp", "");
$sign = input("sign", "");
Log::record("云账户回调信息".json_encode($_POST),"info");
write_log_redis("yunzhanghu_huidiao_原始数据",$_POST);
$yun_pay = new YunPay();
$result = $yun_pay->yun_callback($data,$mess,$timestamp,$sign);
write_log_redis("yunzhanghu_huidiao_解密后数据",$result);
if($result['code']==1){
$data = $result['data'];
if($data){