zhengyuxuan
2025-04-02 dbf044662b9a75e5b42f8f76c65faaf89c95bb21
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using LifePayment.Domain.Shared;
using System.Threading.Tasks;
using Volo.Abp.Domain.Services;
 
namespace LifePayment.Domain
{
    public interface IWxManager : IDomainService
    {
        Task<string> GetWxMiniAccessToken();
 
        Task<string> CreateQrCodeUrl(string name, CreateQrCodeInput input);
 
        Task<byte[]> CreateQrCode(CreateQrCodeInput input);
 
        Task<WxMiniAppIndentity> GetWxIndentity(string code, WxMiniAppEnum wxMiniApp);
 
        Task<WxMiniAppIndentity> GetWxOauth2AccessToken(string code);
 
        string GetPhoneNumber(string encryptedDataStr, string iv, string sessionKey);
 
        WxMiniAppUserInfo GetUserInfo(string encryptedDataStr, string iv, string sessionKey);
 
        Task<GetCgiWritingResponse> GetWxPublishWriting();
    }
}