修改一些BUG

This commit is contained in:
技术老胡
2024-08-31 17:18:46 +08:00
parent 0f3fad95c8
commit 31354de6f5
8 changed files with 10 additions and 78 deletions

View File

@@ -120,7 +120,7 @@ class Order extends BaseModel
return [];
}
$patt = PayAccount::find($channel_info->account_id);
$channel = ['aid' => $channel_info->account_id, 'cid' => $channel_info->id, 'patt' => $patt->pattern];
$channel = ['aid' => $channel_info->account_id, 'cid' => $channel_info->id, 'patt' => $patt->getData('pattern')];
PayChannel::update(['last_time' => self::getFormatTime(), 'id' => $channel['cid']]);
return $channel;
}