页面调整
This commit is contained in:
1 parent
5bc5a91b3b
commit
e14e7c51db
5 files changed
+54
-3
No files matched your search
@@ -80,6 +80,10 @@ public class RentalOrders {
|
||||
if (request.containsKey("duration_seconds")) {
|
||||
hash = RentalCrypto.sha256(hash + ":" + number(request, "duration_seconds"));
|
||||
}
|
||||
// 保留未提交资源数量的旧摘要;同单号不能更改资源数量重新冻结资金。
|
||||
if (request.containsKey("resource_quantity")) {
|
||||
hash = RentalCrypto.sha256(hash + ":resource_quantity:" + number(request, "resource_quantity"));
|
||||
}
|
||||
if (existing != null) {
|
||||
require(hash.equals(text(existing, "request_hash")), "同一商户订单号参数不一致");
|
||||
return existing;
|
||||
|
||||
Reference in new issue
Block a user