Merge branch 'james_bc' of git.kingsome.cn:server/game2006api into james_bc
This commit is contained in:
commit
ee9a0a1c84
28
uml/boundle.drawio
Normal file
28
uml/boundle.drawio
Normal file
@ -0,0 +1,28 @@
|
||||
<mxfile host="65bd71144e">
|
||||
<diagram id="6-OvJa2UTW0QZlagzmDQ" name="Page-1">
|
||||
<mxGraphModel dx="630" dy="580" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0"/>
|
||||
<mxCell id="1" parent="0"/>
|
||||
<mxCell id="6" value="Lifeline1" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="90" y="360" width="100" height="300" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="7" value="" style="shape=umlDestroy;dashed=0;" vertex="1" parent="6">
|
||||
<mxGeometry x="30" y="280" width="40" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="8" value="Lifeline1" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="270" y="360" width="100" height="300" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="9" value="" style="shape=umlDestroy;dashed=0;" vertex="1" parent="8">
|
||||
<mxGeometry x="30" y="280" width="40" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="10" value="Lifeline1" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="450" y="360" width="100" height="300" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="11" value="" style="shape=umlDestroy;dashed=0;" vertex="1" parent="10">
|
||||
<mxGeometry x="30" y="280" width="40" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
20
uml/marketLogin.puml
Normal file
20
uml/marketLogin.puml
Normal file
@ -0,0 +1,20 @@
|
||||
@startuml
|
||||
'https://plantuml.com/sequence-diagram
|
||||
|
||||
autonumber
|
||||
|
||||
Client -> Web3: bc connect
|
||||
Web3 --> Client: return chainId->net_id, account
|
||||
Client -> Server: getNonce{account,net_id}
|
||||
Server --> Client: return Nonce{nonce}
|
||||
|
||||
Client -> Server: auth{account, nonce, signature, tips}
|
||||
Server --> Client: return {token}
|
||||
|
||||
Client -> Server: sellMyNft{account, token, nft_token, s_price, payment_token_address, nonce, signature, net_id}
|
||||
Server --> Client: return ok
|
||||
|
||||
Client -> Server: buyNft{account, token, nft_token, payment_token_address, nonce, signature, net_id}
|
||||
Server --> Client: return ok
|
||||
|
||||
@enduml
|
@ -558,7 +558,10 @@ class MarketController extends BaseController {
|
||||
|
||||
$rows = SqlHelper::ormSelect(
|
||||
$conn,
|
||||
't_market_store'
|
||||
't_market_store',
|
||||
array(
|
||||
'token_type' => $type
|
||||
)
|
||||
);
|
||||
|
||||
$total = count($rows);
|
||||
|
Loading…
x
Reference in New Issue
Block a user