From 69b43a3a8502d14039f544885ff037ef3f5b89e6 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 24 五月 2019 17:32:39 +0800 Subject: [PATCH] 增加接口监控报警,增加违规订单处理,增加接口请求时间大于2s的统计 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserInfoService.java | 36 ++++++++++++++++++++++++++---------- 1 files changed, 26 insertions(+), 10 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserInfoService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserInfoService.java index 06e1671..00dc1a1 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserInfoService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserInfoService.java @@ -99,7 +99,8 @@ public BigDecimal getNewPeopleHB(Long id); /** - * 鏌ヨ鐢ㄦ埛淇℃伅 -- 鐢ㄦ埛绠$悊鍒楄〃 + * 鏌ヨ鐢ㄦ埛淇℃伅 -- 鐢ㄦ埛绠$悊鍒楄〃 + * * @param start * @param count * @param key @@ -110,17 +111,17 @@ * @param orderMode * @return */ - public List<UserInfoVO> query(long start, int count, Integer userState, String key, Integer keyType, String userRank, - Integer days, String startTime, String endTime,Integer orderField, Integer orderMode); + public List<UserInfoVO> query(long start, int count, Integer userState, String key, Integer keyType, + String userRank, Integer days, String startTime, String endTime, Integer orderField, Integer orderMode); - public long queryCount(Integer userState, String key, Integer keyType, String userRank, Integer days, String startTime, - String endTime); + public long queryCount(Integer userState, String key, Integer keyType, String userRank, Integer days, + String startTime, String endTime); public double querySumMoney(String key, Integer userType, Integer days, String startTime, String endTime); - /** * 閫夋嫨鎬ф洿鏂� + * * @param record * @return */ @@ -128,6 +129,7 @@ /** * 鍏跺己鍒跺垹闄ょ粦瀹氫俊鎭� + * * @param user * @param type */ @@ -135,14 +137,15 @@ /** * 鏍规嵁id鏌ヨ鐢ㄦ埛淇℃伅 + * * @param id * @return */ public UserInfo selectByPKey(Long id); - /** - * 瓒呰繃 daysNum 澶╂湭鐧婚檰鐨勭敤鎴� + * 瓒呰繃 daysNum 澶╂湭鐧婚檰鐨勭敤鎴� + * * @param daysNum * @param list * @return @@ -151,6 +154,7 @@ /** * 鏍规嵁鐢佃瘽鍙风爜銆侀個璇风爜鑾峰彇閭�璇风敤鎴� + * * @param phone * @param inviteCode * @return @@ -159,6 +163,7 @@ /** * 鏍规嵁鐢佃瘽鍙风爜 鑾峰彇鏈夋晥鐢ㄦ埛 + * * @param phone * @return */ @@ -166,6 +171,7 @@ /** * 鑾峰彇鐢ㄦ埛淇℃伅 + * * @param uid * @return * @throws UserInfoException @@ -174,14 +180,15 @@ /** * 鏍规嵁寰俊鑾峰彇鏈夋晥鐢ㄦ埛 + * * @param unionId * @return */ public UserInfo getEffectiveUserInfoByWXUnionId(String unionId); - - + /** * 鑾峰彇鐢ㄦ埛浣欓 + * * @param uid * @return */ @@ -189,6 +196,7 @@ /** * 鏇存崲澶村儚 + * * @param file * @param uid * @throws UserInfoException @@ -198,10 +206,18 @@ /** * 淇濆瓨澶村儚 + * * @param nickName * @param uid * @throws UserInfoException */ public void saveUserInfo(String nickName, Long uid) throws UserInfoException; + /** + * 灏佺鐢ㄦ埛 + * + * @param uid + */ + public void forbiddenUser(Long uid,String reason); + } -- Gitblit v1.8.0