|
@@ -8,6 +8,7 @@ import com.muchinfo.mtp3common.utils.JsonUtils;
|
|
|
import com.muchinfo.mtp3century.utils.AjaxResult;
|
|
import com.muchinfo.mtp3century.utils.AjaxResult;
|
|
|
import com.muchinfo.mtp3common.vo.PageResult;
|
|
import com.muchinfo.mtp3common.vo.PageResult;
|
|
|
import com.muchinfo.mtp3pojos.entity.Accountriskconfig;
|
|
import com.muchinfo.mtp3pojos.entity.Accountriskconfig;
|
|
|
|
|
+import com.muchinfo.mtp3pojos.entity.Accounttradeconfig;
|
|
|
import com.muchinfo.mtp3pojos.entity.Systemmanager;
|
|
import com.muchinfo.mtp3pojos.entity.Systemmanager;
|
|
|
import com.muchinfo.mtp3pojos.vo.SystemRoleVo;
|
|
import com.muchinfo.mtp3pojos.vo.SystemRoleVo;
|
|
|
import com.muchinfo.mtp3pojos.vo.investor.InvestorInitBZResult;
|
|
import com.muchinfo.mtp3pojos.vo.investor.InvestorInitBZResult;
|
|
@@ -270,8 +271,14 @@ public class OrganController {
|
|
|
@ApiOperation("会员机构管理-->机构管理-->风控个性化设置--> 新增")
|
|
@ApiOperation("会员机构管理-->机构管理-->风控个性化设置--> 新增")
|
|
|
@RequestMapping(method = RequestMethod.POST, value = "/addaccountriskconfig")
|
|
@RequestMapping(method = RequestMethod.POST, value = "/addaccountriskconfig")
|
|
|
@ApiResponse(code = 200, message = "成功", response = AjaxResult.class)
|
|
@ApiResponse(code = 200, message = "成功", response = AjaxResult.class)
|
|
|
- private AjaxResult addaccountriskconfig(@RequestBody AccountRiskConfigAddParam vo, HttpServletRequest request) {
|
|
|
|
|
- return iOrganService.addaccountriskconfig(vo, request);
|
|
|
|
|
|
|
+ private AjaxResult addaccountriskconfig(@RequestBody String vo, HttpServletRequest request) {
|
|
|
|
|
+ try {
|
|
|
|
|
+ AccountRiskConfigAddParam current = JsonUtils.toBean(CenturyDecryptUtil.decryptForJson(vo, request), AccountRiskConfigAddParam.class);
|
|
|
|
|
+ return iOrganService.addaccountriskconfig(current, request);
|
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
|
+ log.error("风控个性化设置新增失败,失败原因:" + Arrays.toString(e.getStackTrace()));
|
|
|
|
|
+ return AjaxResult.error(Constants.Error_Code_Design, MessageType.MESSAGE_ERROR_CODE_SYSTEM002.getCode(), request.getHeader("Accept-Language"));
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@ApiOperation("会员机构管理-->机构管理-->风控个性化设置--> 修改")
|
|
@ApiOperation("会员机构管理-->机构管理-->风控个性化设置--> 修改")
|
|
@@ -304,14 +311,14 @@ public class OrganController {
|
|
|
@ApiOperation("会员机构管理-->机构管理-->账户个性化设置--> 获取树结构")
|
|
@ApiOperation("会员机构管理-->机构管理-->账户个性化设置--> 获取树结构")
|
|
|
@RequestMapping(method = RequestMethod.GET, value = "/createTree")
|
|
@RequestMapping(method = RequestMethod.GET, value = "/createTree")
|
|
|
@ApiResponse(code = 200, message = "成功", response = AjaxResult.class)
|
|
@ApiResponse(code = 200, message = "成功", response = AjaxResult.class)
|
|
|
- private AjaxResult createTree(HttpServletRequest request) {
|
|
|
|
|
|
|
+ private AjaxResult<AccountTradeConfigTreeVo> createTree(HttpServletRequest request) {
|
|
|
return iOrganService.createTree(request);
|
|
return iOrganService.createTree(request);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@ApiOperation("会员机构管理-->机构管理-->账户个性化设置--> 详情")
|
|
@ApiOperation("会员机构管理-->机构管理-->账户个性化设置--> 详情")
|
|
|
@RequestMapping(method = RequestMethod.GET, value = "/tradeConfigView")
|
|
@RequestMapping(method = RequestMethod.GET, value = "/tradeConfigView")
|
|
|
@ApiResponse(code = 200, message = "成功", response = AjaxResult.class)
|
|
@ApiResponse(code = 200, message = "成功", response = AjaxResult.class)
|
|
|
- private AjaxResult tradeConfigView(PersonalizationDelParam param, HttpServletRequest request) {
|
|
|
|
|
|
|
+ private AjaxResult<Accounttradeconfig> tradeConfigView(PersonalizationDelParam param, HttpServletRequest request) {
|
|
|
//这个是投资者的userid ,获取投资者的分组ID
|
|
//这个是投资者的userid ,获取投资者的分组ID
|
|
|
param.setMemberuserid(0L);
|
|
param.setMemberuserid(0L);
|
|
|
param.setRuletype(1);
|
|
param.setRuletype(1);
|