实现余额购买接口 & 实现全局 id 生成器

This commit is contained in:
2025-04-08 17:15:23 +08:00
parent c02d843dbc
commit 4c47a71f30
10 changed files with 506 additions and 116 deletions

View File

@@ -1678,10 +1678,10 @@
{
"id": "UFwaLWIsE6V1u0wBoIki2",
"type": "arrow",
"x": 1550.476799787434,
"y": 700.4507453599007,
"width": 199.2013303179067,
"height": 199.09850928019864,
"x": 1580,
"y": 700,
"width": 140,
"height": 200,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
@@ -1697,11 +1697,11 @@
"type": 2
},
"seed": 700454335,
"version": 1345,
"versionNonce": 1843048196,
"version": 1367,
"versionNonce": 321661628,
"isDeleted": false,
"boundElements": [],
"updated": 1742973056826,
"updated": 1742973231871,
"link": null,
"locked": false,
"points": [
@@ -1710,19 +1710,19 @@
0
],
[
199.2013303179067,
199.09850928019864
140,
200
]
],
"lastCommittedPoint": null,
"startBinding": {
"elementId": "U3ry809DLSs3z2kp6IH9m",
"focus": 0,
"focus": -0.3333333333333334,
"gap": 1
},
"endBinding": {
"elementId": "02tdc6VRdsQxJlfDZOFSa",
"focus": 4.547473508864641e-15,
"focus": -0.3333333333333326,
"gap": 1
},
"startArrowhead": "crowfoot_one",
@@ -1786,8 +1786,8 @@
{
"id": "qFfFxWmqoOyrikrAZnpf6",
"type": "arrow",
"x": 1300.0990604598142,
"y": 399.5491556175755,
"x": 1300.0990604598144,
"y": 399.09841025767486,
"width": 0.19812091962853629,
"height": 99.09831123515096,
"angle": 0.0019992334198262185,
@@ -1805,11 +1805,11 @@
"type": 2
},
"seed": 557170239,
"version": 500,
"versionNonce": 1905164420,
"version": 504,
"versionNonce": 703426753,
"isDeleted": false,
"boundElements": [],
"updated": 1742973044311,
"updated": 1744102055508,
"link": null,
"locked": false,
"points": [
@@ -1825,15 +1825,15 @@
"lastCommittedPoint": null,
"startBinding": {
"elementId": "Bto4ODTDgZzQWKJot-An0",
"focus": 0,
"focus": 4.547473508864641e-15,
"gap": 1
},
"endBinding": {
"elementId": "1jrJPZuuyVEe_3htPZakP",
"focus": 4.547473508864641e-15,
"focus": 2.2737367544323206e-15,
"gap": 1
},
"startArrowhead": "crowfoot_one",
"startArrowhead": null,
"endArrowhead": "crowfoot_many",
"elbowed": false
},
@@ -2528,11 +2528,11 @@
"index": "b2G",
"roundness": null,
"seed": 220752260,
"version": 71,
"versionNonce": 1899879740,
"version": 84,
"versionNonce": 1844124804,
"isDeleted": false,
"boundElements": null,
"updated": 1742973149462,
"boundElements": [],
"updated": 1742973179481,
"link": null,
"locked": false,
"text": "分配\nassign",
@@ -2548,10 +2548,10 @@
{
"id": "R_-u_XvFXVoOYZdQkVqEP",
"type": "arrow",
"x": 1500.8926525754896,
"y": 973.3353179908356,
"width": 201.09954604136533,
"height": 137.1139381444691,
"x": 1500,
"y": 980,
"width": 201.99219861685492,
"height": 130.44925613530472,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
@@ -2567,11 +2567,11 @@
"type": 2
},
"seed": 1509277188,
"version": 74,
"versionNonce": 1128401540,
"version": 79,
"versionNonce": 1522980412,
"isDeleted": false,
"boundElements": null,
"updated": 1742973114690,
"boundElements": [],
"updated": 1742973247275,
"link": null,
"locked": false,
"points": [
@@ -2580,20 +2580,20 @@
0
],
[
201.09954604136533,
137.1139381444691
201.99219861685492,
130.44925613530472
]
],
"lastCommittedPoint": null,
"startBinding": {
"elementId": "sWVhyKNTaf6c4MTpx5iEK",
"focus": -0.38461538461538525,
"focus": -0.3018059982941868,
"gap": 1
},
"endBinding": {
"elementId": "P5uYFnh0fSXvOjdD6id2Z",
"focus": -0.23076923076923048,
"gap": 1
"focus": -0.20722399317674445,
"gap": 1.0001133441418582
},
"startArrowhead": "crowfoot_one",
"endArrowhead": "crowfoot_many",
@@ -2624,7 +2624,7 @@
"version": 152,
"versionNonce": 257905468,
"isDeleted": false,
"boundElements": null,
"boundElements": [],
"updated": 1742973125284,
"link": null,
"locked": false,