This commit is contained in:
彭桃 2023-02-27 11:23:59 +08:00
parent b4261c5fe5
commit bcbc75d865

View File

@ -104,7 +104,7 @@ class MerchantIntentionRepository extends BaseRepository
$create = $data['create_mer'] == 1;
unset($data['create_mer']);
$intention = $this->search(['mer_intention_id' => $id])->find();
$smsData = [];
if (!$intention)
throw new ValidateException('信息不存在');
if ($intention->status)