浏览代码

提交书据

lvhao 5 天之前
父节点
当前提交
5aca1986cc
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      core/CoreApp/libraries/Common.php

+ 1 - 4
core/CoreApp/libraries/Common.php

@@ -56,9 +56,6 @@ $this->ci = &get_instance();
 	$where = " status = 0 ";
 	
 	$where .= " and id in  (".implode(",",$usersp).") ";
-	if(empty($order)){
-		$order = "id asc";
-	}
 	
     $result = $this->ci->shop->find_all($where,'*',$order,0,$num);
 
@@ -195,7 +192,7 @@ function typeclassyc($classid,$num=900,$order='sequence asc'){
 	return $com->_typeclassyc($classid,$num,$order);
 }
 /*店铺*/
-function shop($type=269,$num=900,$order='id asc'){
+function shop($type=269,$num=900,$order='px asc'){
 	$com = &get_common();
 	return $com->_shop($type,$num,$order);
 }