MuXue.WeTao.Mall.Service/Impl/TenantShopVistiService.cs

(开头部分) 7KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/**
*┌──────────────────────────────────────────────────────────────┐
*│ 描    述:店铺浏览                                                    
*│ 作    者:┏沐ι雪●微┡信商┡城系φ列δ产≈品-沐δ雪φ微*店-SaεaS多φ商户商*城/                                            
*│ 版    本:muxue.wetao.saas.v1 沐雪微信商城系列产品-模板代码自动生成 
*│ 创建时间:2020-12-26 00:47:15
*│  上海沐雪网络技术有限公司 版权所有 http://www.uweixin.com/
*│  警告:本计算机程序受著作权法和国际公约的保护,
*│  未经授权擅自复制传播本程序的部分或全部,可能受到严厉的民事及刑事制裁,并在法律的许可范围内受到可能的起诉。
*└──────────────────────────────────────────────────────────────┘
*┌──────────────────────────────────────────────────────────────┐
*│ 命名空间: MuXue.WeTao.Mall.Service.Impl                                  
*│ 类    名: TenantShopVistiService                                    
*└──────────────────────────────────────────────────────────────┘
*/
using MuXue.WeTao.Mall.IRepository;
using MuXue.WeTao.Mall.Repository;
using System;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
using MuXue.WeTao.Mall.Domain.Model;
using MuXue.WeTao.Mall.Domain.Model.Request;
using MuXue.WeTao.Mall.Domain.Entity;
using MuXue.WeTao.Mall.Common;
using MuXue.WeTao.Mall.Domain.Model.response;
using System.Linq;
using System.Linq.Expressions;
using MuXue.WeTao.Mall.Domain.Model.Common;
using MuXue.WeTao.Mall.Core.Helper;
using StackExchange.Redis.Extensions.Core.Abstractions;
using MuXue.WeTao.Mall.Core.Redis;
using Senparc.Weixin.WxOpen.Entities;


namespace MuXue.WeTao.Mall.Service.Impl
{
    public class TenantShopVistiService : ITenantShopVistiService
    {
        private ILogger _logger;
        private IDbContext _dbContext;
        private IUnitOfWork _unitOfWork;
        private readonly Itenant_shopRepository _shopRepository;
        private readonly Itenant_memberRepository _memberRepository;
        private readonly Itenant_shop_vistiRepository  _shop_vistiRepository;
        private readonly IRedisDatabase _redisDb; 
        public TenantShopVistiService(IDbContext dbContext, ILogger<TenantShopVistiService> logger, IRedisDatabase redisDb, IWxOpenUserInfoServie wxOpenUserInfoServie)
        {
            _dbContext = dbContext;
            _unitOfWork = new UnitOfWork(_dbContext);
            _shopRepository = new tenant_shopRepository(_dbContext);
            _memberRepository = new tenant_memberRepository(_dbContext);
            _shop_vistiRepository = new tenant_shop_vistiRepository(_dbContext);
            _logger = logger;
            _redisDb = redisDb; 
        }
         
        /// <summary>
        /// 添加店铺浏览次数
        /// </summary>
后面还有 105 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。