修改获取订单首付类型

This commit is contained in:
lccsw
2025-12-02 14:30:49 +08:00
parent e2bc1fa882
commit 7a2a42287a
@@ -40,7 +40,7 @@ class Receiver_orders_model extends HD_Model
public function downpayment_type($type = 0)
{
$array = [1 => '现金', 2 => '0首付', 3 => '按揭'];
if ($type) {
if (isset($type)) {
return $array[$type] ? $array[$type] : '';
} else {
return $array;