class SecurityV1Controller {

	@PostMapping(value = "/set_paypwd_status")
	ResBodyData setPaypwdStatus(@RequestBody @Valid RequestSetPaypwdStatus requestSetPaypwdStatus) {
		logger.info("收到设置支付密码开关API请求：",requestSetPaypwdStatus.toString());
		try {
			MSMembersGet msMembersGet=new MSMembersGet();
			BeanUtils.copyProperties(requestSetPaypwdStatus,msMembersGet);
			ResBodyData resBodyData = securityService.setPaypwdStatus(msMembersGet);
			logger.info("设置支付密码开关API请求结果  ：{}",resBodyData.toString());
			return resBodyData;
		}
		catch (BizException e) {
			logger.error("设置支付密码开关API请求异常：{}",e.toString());
			throw new ApiException(ApiStatusConst.SET_PAYPWD_STATUS_EXCEPTION,ApiStatusConst.getZhMsg(ApiStatusConst.SET_PAYPWD_STATUS_EXCEPTION));
		}
	}

}