Commit b29ca6a9 authored by chenzhao's avatar chenzhao

Merge branch 'develop_dl_plan6_temp' of…

Merge branch 'develop_dl_plan6_temp' of http://39.98.45.134:8090/moa/amos-boot-biz into develop_dl_plan6_temp
parents 0c62f539 f715ac1a
......@@ -1701,4 +1701,17 @@ public class CommandController extends BaseController {
HashMap.class);
return ResponseHelper.buildResponse(weather);
}
@TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY)
@RequestMapping(value = "/getuserBJ", produces = "application/json;charset=UTF-8", method = RequestMethod.GET)
@ApiOperation(httpMethod = "GET", value = "获取当前登录人员是否绑定车辆", notes = "获取当前登录人员是否绑定车辆")
public ResponseModel<Object> getuserBJ() {
AgencyUserModel agencyUserModel = getUserInfo();
Long id = null;
//获取用户已绑定车辆id、
UserCar userCar = userCarService.selectByAmosUserId(Long.valueOf(agencyUserModel.getUserId()));
return ResponseHelper.buildResponse(userCar);
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment