feat : check
This commit is contained in:
@@ -43,7 +43,7 @@ class CouponAutoDispenseConsumer extends ConsumerMessage
|
|||||||
$this->log->error('CouponAutoDispenseConsumer:error:NoData:'.json_encode($data));
|
$this->log->error('CouponAutoDispenseConsumer:error:NoData:'.json_encode($data));
|
||||||
return Result::ACK;
|
return Result::ACK;
|
||||||
}
|
}
|
||||||
|
$this->log->debug('data:'.json_encode($data));
|
||||||
try {
|
try {
|
||||||
$service = new AutoDispenseService();
|
$service = new AutoDispenseService();
|
||||||
|
|
||||||
|
|||||||
@@ -160,9 +160,6 @@ class DispenseAddService extends BaseService
|
|||||||
*/
|
*/
|
||||||
private function sendAutoMq(): void
|
private function sendAutoMq(): void
|
||||||
{
|
{
|
||||||
$this->log->debug('user_id:'.json_encode($this->userIds));
|
|
||||||
$this->log->debug('claim_rule:'.$this->claimRule);
|
|
||||||
|
|
||||||
if ($this->claimRule != CouponCode::DISPENSE_CLAIM_RULE_POST_ACCOUNT) return;
|
if ($this->claimRule != CouponCode::DISPENSE_CLAIM_RULE_POST_ACCOUNT) return;
|
||||||
|
|
||||||
if (empty($this->userIds)) return;
|
if (empty($this->userIds)) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user