|
|
|
@ -21,6 +21,7 @@ import org.apache.commons.lang3.StringUtils; |
|
|
|
|
import org.slf4j.Logger; |
|
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
import org.springframework.dao.DeadlockLoserDataAccessException; |
|
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
|
@ -553,6 +554,10 @@ public class HighCouponAgentController { |
|
|
|
|
|
|
|
|
|
return ResponseMsgUtil.success("操作成功"); |
|
|
|
|
|
|
|
|
|
} catch (DeadlockLoserDataAccessException deadlockLoserDataAccessException) { |
|
|
|
|
log.error("HighActivityController -> userLottery() error!", "请求过于频繁"); |
|
|
|
|
return ResponseMsgUtil.builderResponse(ErrorCode.FREQUENT_REQUESTS.getCode(),ErrorCode.FREQUENT_REQUESTS.getMsg(),null); |
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
log.error("HighCouponAgentController --> pushGzSinopec() error!", e); |
|
|
|
|
return ResponseMsgUtil.exception(e); |
|
|
|
|