切换店铺统计 √
下单选择会员 √ 注册会员 √ 完善手机号 √ 会员流水信息同步 √
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
* 校验是否为管理端登录
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user