优化代码

This commit is contained in:
yansongda 2018-01-13 16:17:53 +08:00
parent df401f7cef
commit e485de091a

View File

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