Merge branch 'develop'

master
eason.qian 7 years ago
commit e19804786b

@ -375,7 +375,7 @@ public class PartnerViewController {
return clientManager.getCheckClientInfo(account.getIntValue("client_id"),account.getString("account_id"),"PC"); return clientManager.getCheckClientInfo(account.getIntValue("client_id"),account.getString("account_id"),"PC");
} }
@PartnerMapping(value = "/agree/confirm", method = RequestMethod.POST) @PartnerMapping(value = "/agree/confirm", method = RequestMethod.POST,roles = PartnerRole.ADMIN)
@ResponseBody @ResponseBody
public void confirmSourceAgreeFile(@ModelAttribute(CommonConsts.PARTNER_STATUS) JSONObject account) { public void confirmSourceAgreeFile(@ModelAttribute(CommonConsts.PARTNER_STATUS) JSONObject account) {
clientContractService.confirmSourceAgreement(account.getIntValue("client_id"),account.getString("account_id"),"PC"); clientContractService.confirmSourceAgreement(account.getIntValue("client_id"),account.getString("account_id"),"PC");

@ -83,6 +83,7 @@ public class ClientContractServiceImpl implements ClientContractService {
getOrGenerateSourceAgreement(client_id, channel); getOrGenerateSourceAgreement(client_id, channel);
Date now = new Date(); Date now = new Date();
logger.info("confirmSourceAgreement+account_id"+account_id);
JSONObject account = clientAccountMapper.findById(account_id); JSONObject account = clientAccountMapper.findById(account_id);
contract.put("has_sign", 1); contract.put("has_sign", 1);
contract.put("sign_account_id", account_id); contract.put("sign_account_id", account_id);

@ -11,7 +11,7 @@
<!-- daily rollover --> <!-- daily rollover -->
<maxHistory>30</maxHistory> <maxHistory>30</maxHistory>
<fileNamePattern>/var/log/payment/%d{yyyy-MM}/manage.%d{yyyy-MM-dd}.%i.log</fileNamePattern> <fileNamePattern>/var/log/payment/%d{yyyy-MM,aux}/manage.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<maxFileSize>200MB</maxFileSize> <maxFileSize>200MB</maxFileSize>
</rollingPolicy> </rollingPolicy>
<encoder> <encoder>

Loading…
Cancel
Save