| | |
| | | |
| | | |
| | | import cn.lili.base.Result; |
| | | import cn.lili.common.security.context.UserContext; |
| | | import cn.lili.modules.lmk.domain.query.CustomerQuery; |
| | | import cn.lili.modules.lmk.mapper.CustomerMapper; |
| | | import cn.lili.modules.lmk.mapper.LmkStoreMapper; |
| | |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Objects; |
| | | |
| | | @Service |
| | | @RequiredArgsConstructor |
| | | public class CustomerServiceImpl extends ServiceImpl<MemberMapper, Member> implements CustomerService { |
| | |
| | | } |
| | | |
| | | @Override |
| | | public Result getMemberPageByWX(CustomerQuery customerQuery) { |
| | | String storeId = Objects.requireNonNull(UserContext.getCurrentUser()).getStoreId(); |
| | | if ( storeId == null) { |
| | | return Result.error("该账号没有注册店铺"); |
| | | } |
| | | return getMemberPage(customerQuery); |
| | | |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public MemberVO getMember(String id) { |
| | | return null; |
| | | } |