5 changed files with 80 additions and 6 deletions
			
			
		@ -0,0 +1,35 @@ | 
				
			|||
package com.elink.esua.epdc.controller.v2; | 
				
			|||
 | 
				
			|||
import com.elink.esua.epdc.common.token.dto.TokenDto; | 
				
			|||
import com.elink.esua.epdc.commons.api.version.ApiVersion; | 
				
			|||
import com.elink.esua.epdc.commons.tools.annotation.LoginUser; | 
				
			|||
import com.elink.esua.epdc.commons.tools.constant.Constant; | 
				
			|||
import com.elink.esua.epdc.commons.tools.utils.Result; | 
				
			|||
import com.elink.esua.epdc.service.PropertyService; | 
				
			|||
import org.springframework.beans.factory.annotation.Autowired; | 
				
			|||
import org.springframework.web.bind.annotation.GetMapping; | 
				
			|||
import org.springframework.web.bind.annotation.PathVariable; | 
				
			|||
import org.springframework.web.bind.annotation.RequestMapping; | 
				
			|||
import org.springframework.web.bind.annotation.RestController; | 
				
			|||
 | 
				
			|||
@ApiVersion(2) | 
				
			|||
@RestController("ApiPrepertyV2Controller") | 
				
			|||
@RequestMapping("property" + Constant.VERSION_CONTROL) | 
				
			|||
public class ApiPrepertyV2Controller { | 
				
			|||
 | 
				
			|||
    @Autowired | 
				
			|||
    private PropertyService propertyService; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 物业项目详情 | 
				
			|||
     * | 
				
			|||
     * @return com.elink.esua.epdc.commons.tools.utils.Result | 
				
			|||
     * @params [formDto] | 
				
			|||
     * @author zhangyuan | 
				
			|||
     * @since 2020/5/13 16:10 | 
				
			|||
     */ | 
				
			|||
    @GetMapping("projectDetail/{propertyProjectId}") | 
				
			|||
    public Result projectDetail(@LoginUser TokenDto userDetail, @PathVariable("propertyProjectId") String propertyProjectId) { | 
				
			|||
        return propertyService.projectDetailV2(userDetail, propertyProjectId); | 
				
			|||
    } | 
				
			|||
} | 
				
			|||
					Loading…
					
					
				
		Reference in new issue