You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.2 KiB

using GDZZ.Core.Service;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GDZZ.Application.Service.WXPay
{
public class WXPayService
{
private readonly IAuthService _authService;
//public WXPayService(IAuthService authService)
//{
// _authService = authService;
//}
///// <summary>
///// 微信小程序支付
///// </summary>
///// <param name="productId">商品Id</param>
///// <returns></returns>
//[HttpGet]
//[AllowAnonymous]
//[Route("api/v1/wxpay/{productId}")]
//public Task<IResponseOutput> WxPay(long productId)
//{
// return _authService.WxPay(productId);
//}
///// <summary>
///// 微信小程序支付回调
///// </summary>
///// <returns></returns>
//[HttpPost]
//[AllowAnonymous]
//[Route("api/v1/wxpay/notify")]
//public Task<string> NotifyUrl()
//{
// return _authService.NotifyUrl();
//}
}
}