Transaction Action of GS2-Lottery

ConsumeAction

AcquireAction

Gs2Lottery:DrawByUserId

Drawing lots by specifying user IDs

Actions for which quantity can be specified: YES

Reversible action: NO

TypeDescription
namespaceNamestringNamespace name
lotteryNamestringName of lottery model type
userIdstringSet #{userId} to replace the currently logged in user ID.
countintNumber of draws
configConfig[]Stamp sheet placeholder applied settings values
{
    "action": "Gs2Lottery:DrawByUserId",
    "request": {
        "namespaceName": "[string]Namespace name",
        "lotteryName": "[string]Name of lottery model type",
        "userId": "[string]User Id",
        "count": "[int]Number of draws",
        "config": [
            {
                "key": "[string]Name",
                "value": "[string]Value"
            }
        ]
    }
}
action: Gs2Lottery:DrawByUserId
request:
  namespaceName: "[string]Namespace name"
  lotteryName: "[string]Name of lottery model type"
  userId: "[string]User Id"
  count: "[int]Number of draws"
  config: 
    - key: "[string]Name"
      value: "[string]Value"