Authored by qinchao

芝麻认知开关:增加默认值

@@ -38,7 +38,7 @@ public class StoreSellerServiceImpl implements IStoredSellerService { @@ -38,7 +38,7 @@ public class StoreSellerServiceImpl implements IStoredSellerService {
38 StoredSellerCacheService storedSellerCacheService; 38 StoredSellerCacheService storedSellerCacheService;
39 39
40 40
41 - @Value("${zhimacert.switch}") 41 + @Value("${zhimacert.switch:true}")
42 private boolean zhiMaCertSwitch; 42 private boolean zhiMaCertSwitch;
43 43
44 /** 44 /**
@@ -53,7 +53,7 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { @@ -53,7 +53,7 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService {
53 @Autowired 53 @Autowired
54 private HttpClient httpClient; 54 private HttpClient httpClient;
55 55
56 - @Value("${zhimacert.switch}") 56 + @Value("${zhimacert.switch:true}")
57 private boolean zhiMaCertSwitch; 57 private boolean zhiMaCertSwitch;
58 /* @Autowired 58 /* @Autowired
59 private GraphVerifyService graphVerifyService;*/ 59 private GraphVerifyService graphVerifyService;*/