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.
43 lines
1.1 KiB
43 lines
1.1 KiB
using Znyc.CloudCar.Model.Dtos.Auth;
|
|
using Znyc.CloudCar.Model.ViewModels.ReportsCallBack;
|
|
|
|
namespace Znyc.CloudCar.IServices.Auth
|
|
{
|
|
public interface IAuthService
|
|
{
|
|
/// <summary>
|
|
/// 获取百度AccessToken
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
ResponseOutput GetAccessTokenAsync();
|
|
|
|
/// <summary>
|
|
/// 微信支付
|
|
/// </summary>
|
|
/// <param name="productId"></param>
|
|
/// <param name="type"></param>
|
|
/// <returns></returns>
|
|
Task<ResponseOutput> WxPay(long productId, int type);
|
|
|
|
/// <summary>
|
|
/// 微信小程序支付回调
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<string> NotifyUrl(string content);
|
|
|
|
/// <summary>
|
|
/// 获取微信access_token
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
WxAccessTokenOutput GetWxAccessTokenAsync();
|
|
|
|
/// <summary>
|
|
/// 获取小程序
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
ResponseOutput GetUnlimitedAsync();
|
|
|
|
|
|
ResponseOutput GetQrCodeAsync(long id);
|
|
}
|
|
}
|
|
|