feat : check
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user