feat : check
This commit is contained in:
@@ -84,6 +84,7 @@ class AutoDispenseService
|
||||
*/
|
||||
public function handle(): void
|
||||
{
|
||||
$this->log->debug('data3:'.$this->couponDispenseId);
|
||||
$dispenseInfo = $this->couponDispenseLogModel->getInfoById($this->couponDispenseId);
|
||||
if (empty($dispenseInfo)) throw new Exception('分发记录不存在');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user