| | |
| | | @RequestMapping(value = "/admin/system") |
| | | public class AdminSystemController { |
| | | |
| | | @Autowired |
| | | private ISystemService systemService; |
| | | private final ISystemService systemService; |
| | | |
| | | private final ICommonService commonService; |
| | | |
| | | @Autowired |
| | | private IMemberProfitService memberProfitService; |
| | | |
| | | private final AgentProducer agentProducer; |
| | | |
| | | private final DataDictionaryCustomMapper dataDictionaryCustomMapper; |
| | | |
| | | @Autowired |
| | | private IAgentService agentService; |
| | | private final IAgentService agentService; |
| | | |
| | | @PostMapping(value = "/bonusSystemSetting") |
| | | public FebsResponse bonusSystemSetting(@RequestBody Map<String, Object> map) { |
| | |
| | | @PostMapping(value = "/cashOutSetting") |
| | | public FebsResponse cashOutSetting(CashOutSettingDto cashOutSettingDto) { |
| | | commonService.addDataDic(DataDictionaryEnum.CASHOUT_SETTING.getType(), DataDictionaryEnum.CASHOUT_SETTING.getCode(), cashOutSettingDto, "提现设置"); |
| | | |
| | | commonService.updateDataDic( |
| | | DataDictionaryEnum.BANK_TRANS_URL.getType(), |
| | | DataDictionaryEnum.BANK_TRANS_URL.getCode(), |
| | | cashOutSettingDto.getUrlStr()); |
| | | commonService.updateDataDic( |
| | | DataDictionaryEnum.BANK_TRANS_VERIFY_IP.getType(), |
| | | DataDictionaryEnum.BANK_TRANS_VERIFY_IP.getCode(), |
| | | cashOutSettingDto.getVerifyIp()); |
| | | commonService.updateDataDic( |
| | | DataDictionaryEnum.BANK_TRANS_VERIFY_PORT.getType(), |
| | | DataDictionaryEnum.BANK_TRANS_VERIFY_PORT.getCode(), |
| | | cashOutSettingDto.getVerifyPort()); |
| | | commonService.updateDataDic( |
| | | DataDictionaryEnum.BANK_TRANS_FKZH.getType(), |
| | | DataDictionaryEnum.BANK_TRANS_FKZH.getCode(), |
| | | cashOutSettingDto.getFkzh()); |
| | | commonService.updateDataDic( |
| | | DataDictionaryEnum.BANK_TRANS_customerId.getType(), |
| | | DataDictionaryEnum.BANK_TRANS_customerId.getCode(), |
| | | cashOutSettingDto.getCustomerId()); |
| | | commonService.updateDataDic( |
| | | DataDictionaryEnum.BANK_TRANS_softwareId.getType(), |
| | | DataDictionaryEnum.BANK_TRANS_softwareId.getCode(), |
| | | cashOutSettingDto.getSoftwareId()); |
| | | return new FebsResponse().success(); |
| | | } |
| | | |
| | |
| | | DataDictionaryEnum.AGENT_PERK.getType(), |
| | | DataDictionaryEnum.AGENT_PERK.getCode(), |
| | | hlmBasicPerkDto.getAgentPerk()); |
| | | commonService.updateDataDic( |
| | | DataDictionaryEnum.PERK_AGENT_ACHIEVE_TOTAL.getType(), |
| | | DataDictionaryEnum.PERK_AGENT_ACHIEVE_TOTAL.getCode(), |
| | | hlmBasicPerkDto.getPerkAgentAchieveTotal()); |
| | | commonService.updateDataDic( |
| | | DataDictionaryEnum.PERK_AGENT_ACHIEVE_PERCENT.getType(), |
| | | DataDictionaryEnum.PERK_AGENT_ACHIEVE_PERCENT.getCode(), |
| | | hlmBasicPerkDto.getPerkAgentAchievePercent()); |
| | | return new FebsResponse().success(); |
| | | } |
| | | |
| | |
| | | GreenScoreEnum.JOB_ACHIEVE_RELEASE_PERCENT.getCode(), |
| | | hlmVoucherButtonDto.getJobAchieveReleasePercent()); |
| | | |
| | | return new FebsResponse().success(); |
| | | } |
| | | |
| | | @PostMapping(value = "/hlmAchieveButton") |
| | | public FebsResponse hlmAchieveButton() { |
| | | agentService.achieveReleasePercent(); |
| | | return new FebsResponse().success(); |
| | | } |