fix : coupon
This commit is contained in:
@@ -64,4 +64,13 @@ class ApiRedisKey
|
||||
{
|
||||
return 'lock:pay:user_id:'. $userId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $userId
|
||||
* @return string
|
||||
*/
|
||||
public static function refundLock(int $userId)
|
||||
{
|
||||
return 'lock:refund:user_id:'. $userId;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user