Beispiel #1
0
    public SupplierStatistics()
    {
        //初始化ASP.NET内置对象
        Response    = System.Web.HttpContext.Current.Response;
        Request     = System.Web.HttpContext.Current.Request;
        Server      = System.Web.HttpContext.Current.Server;
        Session     = System.Web.HttpContext.Current.Session;
        Application = System.Web.HttpContext.Current.Application;

        tools      = ToolsFactory.CreateTools();
        DBHelper   = SQLHelperFactory.CreateSQLHelper();
        JsonHelper = JsonHelperFactory.CreateJsonHelper();
        product    = new Product();
        pub        = new Public_Class();
        supplier   = new Supplier();
        pageurl    = new PageURL();
        category   = CategoryFactory.CreateCategory();
    }
Beispiel #2
0
    public Credit()
    {
        Response    = System.Web.HttpContext.Current.Response;
        Request     = System.Web.HttpContext.Current.Request;
        Server      = System.Web.HttpContext.Current.Server;
        Session     = System.Web.HttpContext.Current.Session;
        Application = System.Web.HttpContext.Current.Application;

        tools       = ToolsFactory.CreateTools();
        HttpHelper  = HttpHelperFactory.CreateHttpHelper();
        JsonHelper  = JsonHelperFactory.CreateJsonHelper();
        MyLoanApply = OrdersFactory.CreateOrdersLoanApply();

        pub = new Public_Class();

        tradesignkey = System.Web.Configuration.WebConfigurationManager.AppSettings["tradesignkey"].ToString();
        partner_id   = tools.NullStr(Application["CreditPayment_Code"]);
        loan_url     = System.Web.Configuration.WebConfigurationManager.AppSettings["loan-lgs"].ToString();
    }
Beispiel #3
0
    public Suppliers()
    {
        //初始化ASP.NET内置对象
        Response    = System.Web.HttpContext.Current.Response;
        Request     = System.Web.HttpContext.Current.Request;
        Server      = System.Web.HttpContext.Current.Server;
        Session     = System.Web.HttpContext.Current.Session;
        Application = System.Web.HttpContext.Current.Application;

        tools      = ToolsFactory.CreateTools();
        DBHelper   = SQLHelperFactory.CreateSQLHelper();
        JsonHelper = JsonHelperFactory.CreateJsonHelper();
        product    = new Product();
        pub        = new Public_Class();
        supplier   = new Supplier();
        pageurl    = new PageURL();
        category   = CategoryFactory.CreateCategory();
        MyPro      = ProductFactory.CreateProduct();
        MyShop     = Glaer.Trade.B2C.BLL.MEM.SupplierShopFactory.CreateSupplierShop();
    }