• 大小: 8.99M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: C#  微信支付  c  模式  

资源简介

C#中在MVC模式中调用微信支付接口进行扫码支付。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Routing;

namespace WXPayDemo
{
    // 注意: 有关启用 IIS6 或 IIS7 经典模式的说明,
    // 请访问 http://go.microsoft.com/?linkId=9394801
    public class MvcApplication : System.Web.HttpApplication
    {
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

            WebApiConfig.Register(GlobalConfiguration.Configuration);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-10-14 20:55  WXPayDemo\
     目录           0  2016-10-14 21:28  WXPayDemo\App_Data\
     目录           0  2016-10-14 21:09  WXPayDemo\App_Start\
     文件         275  2016-10-14 20:36  WXPayDemo\App_Start\FilterConfig.cs
     文件         604  2016-10-14 21:09  WXPayDemo\App_Start\RouteConfig.cs
     文件         478  2016-10-14 20:36  WXPayDemo\App_Start\WebApiConfig.cs
     目录           0  2016-10-14 21:07  WXPayDemo\Controllers\
     文件        7296  2016-10-14 21:07  WXPayDemo\Controllers\CheckoutController.cs
     文件         101  2016-10-14 20:36  WXPayDemo\Global.asax
     文件         716  2016-10-14 20:36  WXPayDemo\Global.asax.cs
     目录           0  2016-10-14 21:01  WXPayDemo\Models\
     文件         526  2016-10-14 20:47  WXPayDemo\Models\baseEntity.cs
     文件       11469  2016-10-14 21:01  WXPayDemo\Models\Order.cs
     文件        3634  2016-10-14 21:01  WXPayDemo\Models\OrderItem.cs
     文件         539  2016-10-14 20:48  WXPayDemo\Models\OrderStatus.cs
     文件         736  2016-10-14 20:45  WXPayDemo\Models\PaymentStatus.cs
     文件        3178  2016-10-14 20:52  WXPayDemo\Models\User.cs
     目录           0  2016-10-14 20:36  WXPayDemo\Properties\
     文件        1320  2016-10-14 20:36  WXPayDemo\Properties\AssemblyInfo.cs
     目录           0  2016-10-14 20:53  WXPayDemo\Views\
     目录           0  2016-10-14 21:27  WXPayDemo\Views\Checkout\
     文件         746  2016-10-14 20:54  WXPayDemo\Views\Checkout\PaidSuccess.cshtml
     文件        2920  2016-10-14 21:27  WXPayDemo\Views\Checkout\Payment.cshtml
     文件         119  2016-10-14 20:53  WXPayDemo\Views\Checkout\ResultNotify.cshtml
     文件        1129  2016-10-14 20:53  WXPayDemo\Views\Checkout\ShippingAddress.cshtml
     文件        2840  2016-10-14 20:36  WXPayDemo\Views\Web.config
     文件       15972  2016-10-14 21:00  WXPayDemo\WXPayDemo.csproj
     文件        1087  2016-10-14 21:00  WXPayDemo\WXPayDemo.csproj.user
     文件        1241  2016-10-14 20:36  WXPayDemo\Web.Debug.config
     文件        1302  2016-10-14 20:36  WXPayDemo\Web.Release.config
     文件        2191  2016-10-14 20:36  WXPayDemo\Web.config
............此处省略304个文件信息

评论

共有 条评论