|
|
@ -1,6 +1,5 @@ |
|
|
|
package com.epmet.datareport.controller.screen; |
|
|
|
|
|
|
|
import com.epmet.commons.extappauth.annotation.ExternalAppRequestAuth; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.commons.tools.validator.ValidatorUtils; |
|
|
|
import com.epmet.datareport.service.screen.DistributionService; |
|
|
@ -59,7 +58,7 @@ public class DistributionController { |
|
|
|
* @author zxc |
|
|
|
* @date 2020/8/18 11:20 上午 |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
//@ExternalAppRequestAuth
|
|
|
|
@PostMapping("parymember") |
|
|
|
public Result<ParymemberResultDTO> parymember(@RequestBody ParymemberFormDTO parymemberFormDTO){ |
|
|
|
ValidatorUtils.validateEntity(parymemberFormDTO, ParymemberFormDTO.Parymember.class); |
|
|
@ -72,7 +71,7 @@ public class DistributionController { |
|
|
|
* @author zxc |
|
|
|
* @date 2020/8/19 1:29 下午 |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
//@ExternalAppRequestAuth
|
|
|
|
@PostMapping("project") |
|
|
|
public Result<List<ProjectResultDTO>> project(@RequestBody ProjectFormDTO projectFormDTO){ |
|
|
|
ValidatorUtils.validateEntity(projectFormDTO, ProjectFormDTO.Project.class); |
|
|
@ -85,7 +84,7 @@ public class DistributionController { |
|
|
|
* @author zxc |
|
|
|
* @date 2020/8/19 1:52 下午 |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
//@ExternalAppRequestAuth
|
|
|
|
@PostMapping("topprofile") |
|
|
|
public Result<TopProfileResultDTO> topProfile(@RequestBody TopProfileFormDTO topProfileFormDTO){ |
|
|
|
ValidatorUtils.validateEntity(topProfileFormDTO, TopProfileFormDTO.TopProfile.class); |
|
|
|