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; //} ///// ///// 微信小程序支付 ///// ///// 商品Id ///// //[HttpGet] //[AllowAnonymous] //[Route("api/v1/wxpay/{productId}")] //public Task WxPay(long productId) //{ // return _authService.WxPay(productId); //} ///// ///// 微信小程序支付回调 ///// ///// //[HttpPost] //[AllowAnonymous] //[Route("api/v1/wxpay/notify")] //public Task NotifyUrl() //{ // return _authService.NotifyUrl(); //} } }