mirror of
https://github.com/3ybactuk/marketplace-go-service-project.git
synced 2025-10-30 14:03:45 +03:00
18 lines
284 B
Plaintext
18 lines
284 B
Plaintext
@startuml
|
|
|
|
actor User as u
|
|
collections LOMS as l
|
|
database OrdersStorage as os
|
|
database StocksStorage as ss
|
|
|
|
u -> l : gRPC Loms.OrderPay\n\t- orderID
|
|
activate l
|
|
l -> ss : stocks.ReserveRemove()
|
|
l -> os : order.SetStatus(payed)
|
|
|
|
l -> u : Response: OK (code_id=0)
|
|
|
|
deactivate l
|
|
|
|
@enduml
|