|
@@ -57,10 +57,10 @@ public class UserProfileStampController extends BaseController {
|
|
|
String key = "PRSTAMP_"+loginUser.getUser().getUserId();
|
|
|
Long value = redisCache.getCacheObject(key);
|
|
|
if(value!=null){
|
|
|
- return toAjax(1);
|
|
|
+ return toAjax(0);
|
|
|
}
|
|
|
if(iUserProfileService.insertByAddBo(bo)){
|
|
|
- redisCache.setCacheObject(key,1L,10, TimeUnit.SECONDS);//10秒
|
|
|
+ redisCache.setCacheObject(key,1L,5, TimeUnit.SECONDS);//10秒
|
|
|
return toAjax(1);
|
|
|
}
|
|
|
return toAjax(0);
|