/// <summary> /// 初始化服务 /// </summary> public WctMenuMstrService(IWctMenuMstrRepository wctMenuMstrRepository, InitHelper initHelper, WxHelper wxHelper, IConfiguration configuration) { _wctMenuMstrRepository = wctMenuMstrRepository; _initHelper = initHelper; _wxHelper = wxHelper; _configuration = configuration; }
/// <summary> /// 初始化控制器 /// <param name="wctMenuMstrService">微信菜单服务</param> /// <param name="wctMenuMstrRepository">微信菜单仓储</param> /// </summary> public WctMenuMstrController(IWctMenuMstrService wctMenuMstrService, IWctMenuMstrRepository wctMenuMstrRepository) { _wctMenuMstrService = wctMenuMstrService; _wctMenuMstrRepository = wctMenuMstrRepository; }