|
|
|
@ -7,6 +7,7 @@ import au.com.royalpay.payment.tools.env.SysConfigManager;
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
|
|
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
@ -70,6 +71,9 @@ public class SimpleClientApplyController {
|
|
|
|
|
@RequestMapping(value = "/info/update/{username}", method = RequestMethod.POST)
|
|
|
|
|
public void registerCompanyInfo(@PathVariable String username, @RequestBody @Valid ClientPreApplyBean applyBean) {
|
|
|
|
|
simpleClientApplyService.checkOrGenerateRegisterProcessKey(username,applyBean.getCodeKey());
|
|
|
|
|
if(StringUtils.isNotEmpty(applyBean.getBsb_no().trim())){
|
|
|
|
|
simpleClientApplyService.getBankInfo(applyBean.getBsb_no());
|
|
|
|
|
}
|
|
|
|
|
simpleClientApplyService.saveOrUpdateApplyInfo(applyBean.insertObject(), username);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|