remove cache configuration(configured on production yml)

master
Yixian 3 years ago
parent f8fa60ed36
commit 7174bab3ed

@ -56,12 +56,8 @@ public class RetailValidationController implements ApplicationEventPublisherAwar
@Resource @Resource
private RetailAppService retailAppService; private RetailAppService retailAppService;
@Resource @Resource
private ClientManager clientManager;
@Resource
private SimpleClientApplyService simpleClientApplyService; private SimpleClientApplyService simpleClientApplyService;
private ApplicationEventPublisher publisher; private ApplicationEventPublisher publisher;
@Resource
private ManageAppService manageAppService;
@Override @Override
public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) { public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) {
@ -83,7 +79,7 @@ public class RetailValidationController implements ApplicationEventPublisherAwar
HttpUtils.handleValidErrors(errors); HttpUtils.handleValidErrors(errors);
String codeValue = signInStatusManager.getVerifyCode(loginInfo.getCaptchaKey()); String codeValue = signInStatusManager.getVerifyCode(loginInfo.getCaptchaKey());
if (codeValue == null) { if (codeValue == null) {
logger.error("异常商户信息:" + loginInfo.toString()); logger.error("异常商户信息:{}", loginInfo);
throw new BadRequestException("Verification code has expired"); throw new BadRequestException("Verification code has expired");
} }
if (!codeValue.equals(loginInfo.getVerifyCode())) { if (!codeValue.equals(loginInfo.getVerifyCode())) {

@ -1,7 +1,6 @@
package au.com.royalpay.payment.manage.shopify.store.web; package au.com.royalpay.payment.manage.shopify.store.web;
import au.com.royalpay.payment.manage.shopify.auth.domain.entity.ShopifyAccessToken; import au.com.royalpay.payment.manage.shopify.auth.domain.entity.ShopifyAccessToken;
import au.com.royalpay.payment.manage.shopify.auth.domain.entity.ShopifyPermissionURL;
import au.com.royalpay.payment.manage.shopify.store.domain.application.ShopifyStoreApplication; import au.com.royalpay.payment.manage.shopify.store.domain.application.ShopifyStoreApplication;
import au.com.royalpay.payment.manage.shopify.store.web.command.CreateShopifyMerchantCommand; import au.com.royalpay.payment.manage.shopify.store.web.command.CreateShopifyMerchantCommand;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;

@ -1,8 +1,4 @@
app: app:
http:
cache:
enable: true
path: /
mail: mail:
appid: 1 appid: 1
host: https://mailsupport.royalpay.com.au host: https://mailsupport.royalpay.com.au

Loading…
Cancel
Save