提交建店资料加锁防止重复提交

This commit is contained in:
shuo.wang
2025-05-13 15:02:55 +08:00
parent f5e6194272
commit 2bf1ddea47
3 changed files with 69 additions and 43 deletions

View File

@@ -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_";
}

View File

@@ -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 ;
}
}