mirror of
https://gitee.com/yansongda/pay.git
synced 2024-12-02 04:08:21 +08:00
优化代码
This commit is contained in:
parent
41339b50ca
commit
1a6f9d3a7b
@ -99,7 +99,7 @@ abstract class Alipay implements GatewayInterface
|
||||
return $this->verify($data['alipay_trade_refund_response'], $data['sign'], true);
|
||||
}
|
||||
|
||||
return $data;
|
||||
return $data['alipay_trade_refund_response'];
|
||||
}
|
||||
|
||||
/**
|
||||
@ -120,7 +120,7 @@ abstract class Alipay implements GatewayInterface
|
||||
return $this->verify($data['alipay_trade_close_response'], $data['sign'], true);
|
||||
}
|
||||
|
||||
return $data;
|
||||
return $data['alipay_trade_close_response'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user