瀏覽代碼

修复whable的权限问题

lvhao 6 月之前
父節點
當前提交
9d12c02b10
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/CoreApp/controllers/Whlabel.php

+ 1 - 1
core/CoreApp/controllers/Whlabel.php

@@ -2963,7 +2963,7 @@ class Whlabel extends Start_Controller {
 		{
 			$pid .= " id = ".$v." or";
 		}
-		$fullorderexcel = $this->fullorderexcel->find_all("1 = 1",'*','idorder desc');//导出模板
+		$fullorderexcel = $this->fullorderexcel->find_all("type = '100002' and (".rtrim($pid,'or').")",'*','idorder desc');//导出模板
 		$this->data['fullorderexcel'] = $fullorderexcel;
 		$orderurl = $this->orderurl->find_all(rtrim($fgshop,'or'));
 		$this->data['orderurl'] = $orderurl;