Browse Source

no message

wzh 5 years ago
parent
commit
0f39c3bd10
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/application/controllers/Common.php

+ 1 - 1
api/application/controllers/Common.php

@@ -271,7 +271,7 @@ class Common extends CI_Controller {
 
     // 获取制造商下拉列表
     public function manu_nav(){
-        $list = $this->db->query('select id,name,no,companyId from company where type = 2 and companyId != "" order by companyId ASC')->result_array();
+        $list = $this->db->query('select id,name,no,companyId from company where type = 2 and companyId != "" order by companyId DESC')->result_array();
         foreach ($list as $key => $value) {
             if (!empty($value['no'])) {
                 $list[$key]['name'] = $value['no'];