Selaa lähdekoodia

修复whable的权限问题

lvhao 6 kuukautta sitten
vanhempi
commit
9d12c02b10
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;