关于thinkphp的性能问题 Exec太高怎么办
答案:2 悬赏:20 手机版
解决时间 2021-03-09 19:35
- 提问者网友:饥饿走向夜
- 2021-03-08 21:53
关于thinkphp的性能问题 Exec太高怎么办
最佳答案
- 五星知识达人网友:人间朝暮
- 2021-03-08 22:16
可以扩展Spring的PropertyPlaceholderConfigurer,摘录别人一段代码你参考
public class DecryptPropertyPlaceholderConfigurer extends PropertyPlaceholderConfigurer{
@Override
protected String convertProperty(String propertyName,String propertyValue){
if(isEncryptPropertyVal(propertyName)){
return DesUtils.getDecryptString(propertyValue);//调用解密方法
public class DecryptPropertyPlaceholderConfigurer extends PropertyPlaceholderConfigurer{
@Override
protected String convertProperty(String propertyName,String propertyValue){
if(isEncryptPropertyVal(propertyName)){
return DesUtils.getDecryptString(propertyValue);//调用解密方法
全部回答
- 1楼网友:轻雾山林
- 2021-03-08 23:04
不明白啊 = =!
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯