Commit 1a2bb6c3 by 徐高华

test

parent ad133b1a
......@@ -48,7 +48,11 @@ public class QwFriendApiServiceImpl implements QwFriendApiService {
@Override
public ServiceResponse<Map<String, String>> pendingIdCheck(String enterpriseId) {
return null;
String unionid = "orXl9t6P-XBJQyaNCaJj38GLyYd0";
String openid = "o0Yvd0246SId1HwEjQa54LzMcFU0";
String wxaUnionid = "orXl9t6P-XBJQyaNCaJj38GLyYd0" ;
String wxaOpenid = "oBZYC0SBJdJb_RsUr1F2EkKyguC4" ;
return this.pendingIdCheck(enterpriseId, unionid, openid, wxaUnionid, wxaOpenid);
}
@Override
......
......@@ -177,7 +177,10 @@ public class QwTimesUtils {
title = "即将达到可调用次数";
}
}
if (sendFlag) {
String alertKey = qwInterface.getName()+enterpriseId+"alert" ;
if (sendFlag && null == RedisUtil.getCache(alertKey)) {
RedisUtil.setCache(alertKey, 1 , 1000*60*60*24L);
EnterpriseDTO enterpriseDTO = enterpriseService.getEnterpriseById(enterpriseId);
String brandName = enterpriseDTO.getBrandName();
// 达到上限时文案
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment