修改获取订单首付类型
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user