public BD_NewsInfoController(IBD_NewsInfoService bD_NewsInfoService, IYH_UserService yH_UserService, IAPP_NewsInfoService aPP_NewsInfoService) { _bD_NewsInfoService = bD_NewsInfoService; _yH_UserService = yH_UserService; _aPP_NewsInfoService = aPP_NewsInfoService; }
private readonly static string loginPass = ConfigurationManager.AppSettings["loginPass"]; //默认登录密码 public YH_UserController(IYH_UserService yh_UserService, IZJ_AmountChangeTypeService zj_AmountChangeTypeService, ITHAreaService thAreaService, IYH_MerchantInfoService yh_MerchantInfoService, IYH_AgentService yh_AgentService) { _yh_UserService = yh_UserService; _zj_AmountChangeTypeService = zj_AmountChangeTypeService; _thAreaService = thAreaService; _yh_MerchantInfoService = yh_MerchantInfoService; _yh_AgentService = yh_AgentService; }
/// <summary> /// 构造函数 /// </summary> /// <param name="productService"></param> /// <param name="orderTrackingLogService"></param> /// <param name="userBalanceService"></param> /// <param name="thAreaService"></param> /// <param name="userService"></param> public PaymentOrderService(ProductService productService, OrderTrackingLogService orderTrackingLogService, ZJ_UserBalanceService userBalanceService, ITHAreaService thAreaService, IYH_UserService userService) { this.productService = productService; this.orderTrackingLogService = orderTrackingLogService; this.userBalanceService = userBalanceService; this.thAreaService = thAreaService; this.userService = userService; orderService = new OrderService(null, null, null, null, null, null, null, null); }
public YH_AgentController(IYH_UserService yh_UserService, IYH_AgentService yh_AgentService) { _yh_UserService = yh_UserService; _yh_AgentService = yh_AgentService; }