xiziwen 4 luni în urmă
părinte
comite
cdbe0eb489
1 a modificat fișierele cu 5 adăugiri și 5 ștergeri
  1. 5 5
      controllers/company_seller.go

+ 5 - 5
controllers/company_seller.go

@@ -190,11 +190,11 @@ func (this *CompanySellerController) CheckListV2() {
 	getAllSeller, _ := this.GetBool("AllSeller", false)
 	getAllUser, _ := this.GetBool("AllUser", false)
 	status, _ := this.GetInt("Status", 0)
-	getAllEnabled, _ := this.GetBool("AllEnabled", false)
-	enabled := 1       //默认只获取正常状态的用户
-	if getAllEnabled { //获取所有状态的用户
-		enabled = -1
-	}
+	//getAllEnabled, _ := this.GetBool("AllEnabled", false)
+	enabled := -1       //默认只获取正常状态的用户
+	//if getAllEnabled { //获取所有状态的用户
+	//	enabled = -1
+	//}
 	list := make([]company.DepartmentGroupSellers, 0)
 	if getAllUser {
 		departmentList, err := system.GetDepartmentList()