24 lines
737 B
C#
24 lines
737 B
C#
namespace Hg.Core.WebApi.Controllers
|
|
{
|
|
[ApiSignatureFilterForbid]
|
|
public class SysUserProtocolController : BaseController
|
|
{
|
|
private readonly ISysUserProtocolDomain _sysUserProtocolDomain;
|
|
public SysUserProtocolController(ISysUserProtocolDomain sysUserProtocolDomain)
|
|
{
|
|
_sysUserProtocolDomain = sysUserProtocolDomain;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 查询客户是否有签订老龄协议
|
|
/// </summary>
|
|
/// <param name="resid"></param>
|
|
/// <returns></returns>
|
|
[HttpGet("CheckResAge")]
|
|
public async Task<bool> CheckResAge(string? resid)
|
|
{
|
|
return await _sysUserProtocolDomain.CheckResAge(resid);
|
|
}
|
|
}
|
|
}
|