This commit is contained in:
2025-08-25 09:21:28 +08:00
parent 6730f11cca
commit 118c8d99f2
2 changed files with 123 additions and 61 deletions
+15 -2
View File
@@ -126,9 +126,22 @@ class IndexController
// \Webman\RedisQueue\Redis::send('notice', $data);
$info = InquiryLog::with(['channelInfo', 'countryInfo', 'enter'])->where('id', 25998)->where('sync_crm', 0)->first();
$info = InquiryLog::with(['channelInfo', 'countryInfo', 'enter'])->where('id', 1)->where('sync_crm', 0)->first();
var_dump($info);
var_dump(empty($info->recipient));
if ($info) {
var_dump(11);
} else {
var_dump(22);
}
if ($info !== NULL) {
var_dump(33);
} else {
var_dump(44);
}
return json(['code' => 0, 'msg' => 'success']);
}