修复腾讯企业付款并不会返回 sign 的坑

This commit is contained in:
yansongda 2018-01-23 14:22:53 +08:00
parent 1160d0ee42
commit dc3f41a5ba

View File

@ -75,7 +75,7 @@ class Support
);
}
if ($endpoint === 'mmpaymkttransfers/promotion/transfers' || self::generateSign($result, $key) === $result['sign']) {
if (strpos($endpoint, 'mmpaymkttransfers') !== false || self::generateSign($result, $key) === $result['sign']) {
return new Collection($result);
}