Skip to content

Commit

Permalink
创建基本控制器
Browse files Browse the repository at this point in the history
  • Loading branch information
dongfo committed Apr 11, 2019
1 parent 771bcb5 commit 874c0a9
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 0 deletions.
15 changes: 15 additions & 0 deletions PayCenter/PaySharp.PayCenter/Controllers/AlipayController.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace PaySharp.PayCenter.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class AlipayController : ControllerBase
{
}
}
16 changes: 16 additions & 0 deletions PayCenter/PaySharp.PayCenter/Controllers/NotifyController.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;

namespace PaySharp.PayCenter.Controllers
{
public class NotifyController : Controller
{
public IActionResult Index()
{
return View();
}
}
}
15 changes: 15 additions & 0 deletions PayCenter/PaySharp.PayCenter/Controllers/QpayController.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace PaySharp.PayCenter.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class QpayController : ControllerBase
{
}
}
15 changes: 15 additions & 0 deletions PayCenter/PaySharp.PayCenter/Controllers/UnionpayController.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace PaySharp.PayCenter.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class UnionpayController : ControllerBase
{
}
}
15 changes: 15 additions & 0 deletions PayCenter/PaySharp.PayCenter/Controllers/WechatpayController.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace PaySharp.PayCenter.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class WechatpayController : ControllerBase
{
}
}

0 comments on commit 874c0a9

Please sign in to comment.