|
|
|
@ -77,12 +77,10 @@ public class SimpleClientApplyController {
|
|
|
|
|
simpleClientApplyService.saveOrUpdateApplyInfo(applyBean.insertObject(), username);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@PostMapping(value = "/clientCompliance/{clientMoniker}/commit_aggregate_file")
|
|
|
|
|
@PostMapping(value = "/clientCompliance/{username}/commit_aggregate_file{clean_days}")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public JSONObject getClientArregateFile(@RequestParam MultipartFile file, @RequestHeader("User-Agent") String userAgent, HttpServletRequest request) throws IOException {
|
|
|
|
|
//这个是上传合同的接口,现在为了测试方便,返回一个带上传url的JSONObject,需要传入username,clean_days,签名图片
|
|
|
|
|
String username = "111";
|
|
|
|
|
String clean_days = "11";
|
|
|
|
|
public JSONObject getClientArregateFile(@RequestParam MultipartFile file,@PathVariable String username,@PathVariable String clean_days) throws IOException {
|
|
|
|
|
//这个是上传合同的接口,现在为了测试方便,返回一个带合同url的JSONObject,需要传入username,clean_days,签名图片
|
|
|
|
|
return simpleClientApplyService.getClientAggregateFile(username, file,clean_days);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -91,6 +89,12 @@ public class SimpleClientApplyController {
|
|
|
|
|
return attachmentClient.uploadFile(file, false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GetMapping(value = "/aggregateFile/client_info")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public JSONObject getClientInfoByAggree(@RequestParam String username, @RequestParam String clean_days) {
|
|
|
|
|
return simpleClientApplyService.getPreApplyInfoForAggree(username ,clean_days);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GetMapping("/info/bank/{bsb_no}")
|
|
|
|
|
public JSONObject getBankInfo(@PathVariable String bsb_no, @RequestParam String username, @RequestParam String codeKey) {
|
|
|
|
|
simpleClientApplyService.checkOrGenerateRegisterProcessKey(username, codeKey);
|
|
|
|
|