作者 赵彬吉

update

... ... @@ -439,7 +439,7 @@ class RelayInquiry extends Command
{
$cache_key = 'inquiry_ads_task';
$ads = Cache::get($cache_key, function () use ($cache_key) {
$ads = ReInquiryTask::where(['status' => ReInquiryTask::STATUS_OPEN])->get(['id', 'ad_id', 'num', 'target']);
$ads = ReInquiryTask::where(['status' => ReInquiryTask::STATUS_OPEN])->get(['id', 'ad_id', 'num', 'target', 'is_replace_text']);
$array = [];
foreach ($ads as $key=>$val) {
$array[$val->ad_id] = $val;
... ...