From dc4885c449d7958b0ed3440e2c155e416884c403 Mon Sep 17 00:00:00 2001 From: xiaoyu Date: Fri, 7 Mar 2025 23:01:46 +0800 Subject: [PATCH] cars --- common/models/auto/Auto_brand_model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/models/auto/Auto_brand_model.php b/common/models/auto/Auto_brand_model.php index 8ed54b8e..c74ae6b0 100644 --- a/common/models/auto/Auto_brand_model.php +++ b/common/models/auto/Auto_brand_model.php @@ -47,10 +47,10 @@ class Auto_brand_model extends HD_Model */ public function map_brand($where=array(), $map=true){ if ($map){ - $map_brand = $this->map('id', 'name', $where, 'status desc, id asc', 0 , 0, 'id, name'); + $map_brand = $this->map('id', 'name', $where, 'initial asc', 0 , 0, 'id, name'); } else{ - $map_brand = $this->select($where, "status desc, id asc", 0, 0, 'id, name'); + $map_brand = $this->select($where, "initial asc", 0, 0, 'id, name'); } return $map_brand; }