切换店铺统计 √

下单选择会员 √
注册会员 √
完善手机号 √
会员流水信息同步 √
This commit is contained in:
Tankaikai
2025-04-11 11:45:04 +08:00
parent efb833e8f0
commit be61a9dfea
2 changed files with 20 additions and 3 deletions

View File

@@ -242,6 +242,19 @@ public class MyStpLogic {
return shopId;
}
/**
* 是否启用同步功能
* @param shopId 店铺id
* @return 主店id
*/
public boolean isEnableSync(Long shopId) {
Integer isEnableProdSync = DbChain.table("tb_shop_config").select("is_enable_prod_sync").where("id = ?", shopId).objAs(Integer.class);
if (isEnableProdSync == null) {
return false;
}
return isEnableProdSync == 1;
}
/**
* 校验是否为管理端登录
*/