|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.doumee.api.BaseController; | 
|---|
|  |  |  | import com.doumee.config.annotation.LoginNoRequired; | 
|---|
|  |  |  | import com.doumee.core.constants.ResponseStatus; | 
|---|
|  |  |  | import com.doumee.core.exception.BusinessException; | 
|---|
|  |  |  | import com.doumee.service.business.third.model.ApiResponse; | 
|---|
|  |  |  | import com.doumee.service.business.third.model.LoginUserInfo; | 
|---|
|  |  |  | import com.doumee.core.utils.Constants; | 
|---|
|  |  |  | 
|---|
|  |  |  | param.getParameters().setDriverTel("00000000000");//手机号必填 | 
|---|
|  |  |  | }*/ | 
|---|
|  |  |  | LoginUserInfo user = this.getLoginUser(token); | 
|---|
|  |  |  | if(user ==null){ | 
|---|
|  |  |  | throw  new BusinessException(ResponseStatus.NO_LOGIN); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | param.getParameters().setDriverTel(user.getUsername()); | 
|---|
|  |  |  | return  ApiResponse.success(tmsService.getDriverTaskList(param)); | 
|---|
|  |  |  | } | 
|---|