提交 a5b688a2 作者: 沈振路

番茄获取链接频率控制

上级 c5469940
...@@ -558,6 +558,13 @@ public class CustomerServiceCommonAsyncComponent { ...@@ -558,6 +558,13 @@ public class CustomerServiceCommonAsyncComponent {
* 以下是公有方法 * 以下是公有方法
*/ */
public void getCopyReferral(String dateStr, AuthInfoVO authInfoVo, ReferralEntity referralEntity) { public void getCopyReferral(String dateStr, AuthInfoVO authInfoVo, ReferralEntity referralEntity) {
if (CustomerCommonConstant.STORE_NAME_TOMATO.equals(authInfoVo.getStoreType())) {
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
ygAccessLimit(true, authInfoVo.getStoreType()); ygAccessLimit(true, authInfoVo.getStoreType());
referralEntity.setStoreType(authInfoVo.getStoreType()); referralEntity.setStoreType(authInfoVo.getStoreType());
// 非常用链接类型的name需要处理 // 非常用链接类型的name需要处理
......
...@@ -22,6 +22,7 @@ public class CustomerCommonConstant { ...@@ -22,6 +22,7 @@ public class CustomerCommonConstant {
public final static String STORE_NAME_YANG_GUANG = "YANG_GUANG"; public final static String STORE_NAME_YANG_GUANG = "YANG_GUANG";
public final static String STORE_NAME_ZHANG_ZHONG_YUN = "ZHANG_ZHONG_YUN"; public final static String STORE_NAME_ZHANG_ZHONG_YUN = "ZHANG_ZHONG_YUN";
public final static String STORE_NAME_YUE_WEN = "YUE_WEN"; public final static String STORE_NAME_YUE_WEN = "YUE_WEN";
public final static String STORE_NAME_TOMATO = "TOMATO";
public final static String ERROR_LABEL = "error"; public final static String ERROR_LABEL = "error";
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论