feat : check

This commit is contained in:
2025-04-01 16:27:10 +08:00
parent 164c3f32bd
commit 5b16747552
3 changed files with 19 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ class CouponAutoDispenseConsumer extends ConsumerMessage
$this->log->error('CouponAutoDispenseConsumer:error:NoData:'.json_encode($data));
return Result::ACK;
}
$this->log->debug('data:'.json_encode($data));
// $this->log->debug('data:'.json_encode($data));
try {
$service = new AutoDispenseService();

View File

@@ -56,6 +56,8 @@ class WxSubMessageConsumer extends ConsumerMessage
return Result::ACK;
}
$this->log->debug('WxSubMessageConsumer:'.json_encode($data));
$openId = $this->userThirdModel->where('user_id',$data['user_id'])->where('type',ThirdCode::WX_LOGIN)->value('open_id') ?? null;
if (empty($openId)) {
$this->log->error('WxSubMessageConsumer:error:NoOpenId:'.json_encode($data));