送礼异步操作数据完整性过滤
This commit is contained in:
@@ -25,7 +25,7 @@ class GiftQueue
|
||||
{
|
||||
try {
|
||||
// 验证必要字段
|
||||
if (empty($giftData['user_id']) || empty($giftData['gift_user']) || empty($giftData['from_id'])) {
|
||||
if (empty($giftData['user_id']) || empty($giftData['gift_user'])) {
|
||||
Log::error('送礼队列数据不完整: ' . json_encode($giftData));
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user