Explorar o código

fix:列表全选的时候,不校验传参

Roc hai 5 meses
pai
achega
253c83c799
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controllers/eta_trial.go

+ 1 - 1
controllers/eta_trial.go

@@ -1908,7 +1908,7 @@ func (this *ETATrialController) AccountTransfer() {
 		return
 	}
 
-	if len(req.EtaTrialIdList) <= 0 {
+	if req.IsCheckAll != true && len(req.EtaTrialIdList) <= 0 {
 		br.Msg = "参数有误"
 		br.ErrMsg = "参数有误, 至少选中一个试用用户"
 		return