Files
cycle_api/app/Cache/Lock/WalletPlatformUserTransactionLock.php
2024-03-08 00:58:23 +08:00

14 lines
290 B
PHP

<?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;
}
}