feat : pay

This commit is contained in:
2025-02-17 16:46:41 +08:00
parent 1fb7bf4ea7
commit 8e6c6f9cb1
13 changed files with 353 additions and 13 deletions

View File

@@ -55,4 +55,13 @@ class ApiRedisKey
{
return 'good:list:stock:cycle_id:'.$cycleId.':kitchen_id:'.$kitchenId;
}
/**
* @param int $userId
* @return string
*/
public static function payLock(int $userId)
{
return 'lock:pay:user_id:'. $userId;
}
}