|
|
|
@ -2,7 +2,6 @@ package au.com.royalpay.payment.manage.merchants.web;
|
|
|
|
|
|
|
|
|
|
import com.google.code.kaptcha.Producer;
|
|
|
|
|
|
|
|
|
|
import au.com.royalpay.payment.core.exceptions.NotEnoughBalanceException;
|
|
|
|
|
import au.com.royalpay.payment.manage.merchants.beans.ClientApplyInfo;
|
|
|
|
|
import au.com.royalpay.payment.manage.merchants.beans.PartnerQuery;
|
|
|
|
|
import au.com.royalpay.payment.manage.merchants.core.ClientApply;
|
|
|
|
@ -48,10 +47,6 @@ public class PartnerApplyController {
|
|
|
|
|
@Resource
|
|
|
|
|
private Producer captchaProducer;
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/asd")
|
|
|
|
|
public void asd(){
|
|
|
|
|
throw new NotEnoughBalanceException();
|
|
|
|
|
}
|
|
|
|
|
@RequestMapping(method = RequestMethod.POST)
|
|
|
|
|
public void applyPartner(@CookieValue(CommonConsts.CODE_KEY) String codeKey, @RequestBody @Valid ClientApplyInfo apply,
|
|
|
|
|
Errors errors, HttpServletResponse response) throws Exception {
|
|
|
|
|