zhengyuxuan
2025-04-02 02f5cf149ac0fecd8c7ee67bf57fb814d8464ba4
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();
    }
}