提交建店资料加锁防止重复提交
This commit is contained in:
@@ -277,4 +277,6 @@ public class RedisConstant {
|
||||
* 招商经理轮询key
|
||||
*/
|
||||
public static final String YUN_XUE_TANG_ACCESS_TOKEN = "yun_xue_tang_access_token_";
|
||||
|
||||
public static final String SUBMIT_BUILD_KEY = "submit_build_key_";
|
||||
}
|
||||
|
||||
@@ -106,5 +106,8 @@ public class RedisConstantUtil {
|
||||
public String getInvestmentManagerKey(Long wantShopAreaId, Long roleId) {
|
||||
return active + "_" + RedisConstant.INVESTMENT_MANAGER_CACHE + eid + ":" + wantShopAreaId + ":" + roleId ;
|
||||
}
|
||||
public String submitBuildKey(Long shopId){
|
||||
return active + "_" + RedisConstant.SUBMIT_BUILD_KEY + eid + ":" + shopId ;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user