wallet
This commit is contained in:
13
app/Cache/Lock/WalletPlatformUserTransactionLock.php
Normal file
13
app/Cache/Lock/WalletPlatformUserTransactionLock.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
namespace App\Cache\Lock;
|
||||
|
||||
class WalletPlatformUserTransactionLock extends BaseLock
|
||||
{
|
||||
const WITHDRAW_LOCK_KEY = 'wallet_platform_user_transaction_withdraw_lock:';
|
||||
|
||||
public static function getWithdrawKey($id): string
|
||||
{
|
||||
return self::WITHDRAW_LOCK_KEY . $id;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user