修改风险管控接口返回错误通知
This commit is contained in:
@ -59,6 +59,6 @@ public class RiskManageController {
|
||||
*/
|
||||
@PostMapping({"/findApplyRegulation"})
|
||||
public BaseResponse<Object> findApplyRegulation(@RequestBody RiskManageRegulationVO riskManageRegulation){
|
||||
return BaseResponse.success(riskManageService.findApplyRegulation(riskManageRegulation));
|
||||
return riskManageService.findApplyRegulation(riskManageRegulation);
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.chinaunicom.mall.ebtp.extend.riskmanage.service;
|
||||
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BaseResponse;
|
||||
import com.chinaunicom.mall.ebtp.extend.riskmanage.entity.RiskManageRegulationVO;
|
||||
|
||||
/**
|
||||
@ -14,5 +15,5 @@ public interface IRiskManageService {
|
||||
* @param riskManageRegulation 访问实体
|
||||
* @return 返回结果
|
||||
*/
|
||||
Object findApplyRegulation(RiskManageRegulationVO riskManageRegulation);
|
||||
BaseResponse<Object> findApplyRegulation(RiskManageRegulationVO riskManageRegulation);
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ public class RiskManageServiceImpl implements IRiskManageService {
|
||||
|
||||
@SneakyThrows
|
||||
@Override
|
||||
public Object findApplyRegulation(RiskManageRegulationVO riskManageRegulation) {
|
||||
public BaseResponse<Object> findApplyRegulation(RiskManageRegulationVO riskManageRegulation) {
|
||||
|
||||
Map<String,Object> params = riskManageRegulation.getParams();
|
||||
RiskManageRegulation regulation = riskManageRegulation.getRiskManageRegulation();
|
||||
|
Reference in New Issue
Block a user