我正在使用背包laravel,我正在尝试向订阅将在未来7天内过期的客户发送短信。 我在我的数据库中有一个列名为expiry_date但没有day_difference的列。 我无法找到我应该如何形成类查询这个问题的解决方案: DB::table('clients')->where('expiry_date', 'is greater than 7 days from today_date')->f
我正在使用Laravel Backpack image Field Type文档上传图片上传。 在他们的mutator示例中,他们使用md5文件名,但是我想在存储文件时使用原始文件名。 // if a base64 was sent, store it in the db
if (starts_with($value, 'data:image'))
{
// 1.