$create = [
"title" => $data["title"],
"describes" => $data["introduce"],
"promotions_detail" => json_encode([
"type" => $data["discount_type"],
"point" => $data["discount"]
]),
"time_limit" => $data["deadline"],
"extend" => json_encode($data),
"status" => 1
];
$res = Coupon::create($create);
an error will be reported by writing to the database in this way. What is the reason, the version of php7.2