Files
Yi.Framework/Yi.Abp.Net8/module/digital-collectibles/Yi.Framework.DigitalCollectibles.Application/Services/Account/CollectiblesAccountService.cs
2024-10-19 14:02:29 +08:00

41 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using Volo.Abp.Application.Services;
namespace Yi.Framework.DigitalCollectibles.Application.Services.Account;
public class CollectiblesAccountService: ApplicationService
{
/// <summary>
/// 小程序登录
/// </summary>
/// <returns></returns>
public Task PostLoginAsync()
{
throw new NotImplementedException();
//根据code去获取wxid
//判断wxid中是否有对应的userid关系
//果然有直接根据userid返回该用户token
//如果没有,返回结果即可
}
/// <summary>
/// 小程序绑定账号
/// </summary>
/// <returns></returns>
public Task PostBindAsync()
{
throw new NotImplementedException();
//根据code去获取wxid
//校验手机号
//根据手机号查询用户信息
//将wxid和用户user绑定
}
//小程序注册
public Task PostRegisterAsync()
{
throw new NotImplementedException();
//走普通注册流程
//同时再加一个小程序绑定即可
}
}