using Hg.Internal.Domain.Impl;
using System.Security.Cryptography;
namespace Hg.Core.Internal.WebApi.Controllers
{
[ApiSignatureFilterForbid]
public class CustomerController : BaseController
{
private readonly ICustomerDomain _customerDomain;
public CustomerController(ICustomerDomain customerDomain)
{
_customerDomain = customerDomain;
}
///
/// 手机号
///
///
///
[HttpGet("moblies")]
public async Task> GetCustomerMobliesByResid(string? resid)
{
return await _customerDomain.GetCustomerMobliesByResid(resid);
}
///
/// 获取用户详情
///
///
///
[HttpGet("details")]
public async Task GetCustomerDetailsByResid(string? resid)
{
return await _customerDomain.GetCustomerDetailsByResid(resid);
}
///
/// 关联客户
///
///
///
[HttpGet("relation_customers")]
public async Task> GetRelationCustomersByResid(string? resid)
{
return await _customerDomain.GetRelationCustomersByResid(resid);
}
}
}