|  |  |  | 
|---|
|  |  |  | package com.doumee.cloud.web; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.doumee.api.BaseController; | 
|---|
|  |  |  | import com.doumee.cloud.web.ApiController; | 
|---|
|  |  |  | import com.doumee.config.annotation.LoginNoRequired; | 
|---|
|  |  |  | import com.doumee.core.annotation.pr.PreventRepeat; | 
|---|
|  |  |  | import com.doumee.core.annotation.trace.Trace; | 
|---|
|  |  |  | 
|---|
|  |  |  | private ApproveService approveService; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation(value = "内部人员首页", notes = "H5") | 
|---|
|  |  |  | @GetMapping("/internalHome") | 
|---|
|  |  |  | public ApiResponse<InternalHomeVO> internalHome(@RequestHeader(Constants.HEADER_USER_TOKEN) String token) { | 
|---|
|  |  |  | return ApiResponse.success("查询成功",approveService.getHomeData(getLoginUser(token).getMemberId())); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | //    @ApiOperation(value = "内部人员首页", notes = "H5") | 
|---|
|  |  |  | //    @GetMapping("/internalHome") | 
|---|
|  |  |  | //    public ApiResponse<InternalHomeVO> internalHome(@RequestHeader(Constants.HEADER_USER_TOKEN) String token) { | 
|---|
|  |  |  | //        return ApiResponse.success("查询成功",approveService.getHomeData(getLoginUser(token).getMemberId())); | 
|---|
|  |  |  | //    } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("任务中心") | 
|---|
|  |  |  | @PostMapping("/taskCenter") | 
|---|
|  |  |  | 
|---|
|  |  |  | @PostMapping("/createVisit") | 
|---|
|  |  |  | public ApiResponse createVisit(@RequestBody Visits visits,@RequestHeader(Constants.HEADER_USER_TOKEN) String token) { | 
|---|
|  |  |  | visits.setCreateMemberId(getLoginUser(token).getMemberId()); | 
|---|
|  |  |  | return ApiResponse.success("查询成功", visitsService.createFk(visits,false)); | 
|---|
|  |  |  | return ApiResponse.success("查询成功", visitsService.createFk(visits,false,Constants.ZERO)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation(value = "审批流记录审批", notes = "内部人员") | 
|---|