pay debug

This commit is contained in:
devil_gong 2019-07-31 21:24:39 +08:00
parent 0093c8da14
commit 08bb1fdadb

View File

@ -664,8 +664,8 @@ class PayEase
*/
function hmacSign($encrypt_str,$path){
if (empty($encrypt_str['hmac'])){
return $encrypt_str;
if (empty($encrypt_str['hmac'])) {
return DataReturn($encrypt_str['cause'].'['.$encrypt_str['code'].']', -1);
}
$hmac = $encrypt_str['hmac'];
unset($encrypt_str['hmac']);