You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
856 B
C#
33 lines
856 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using Ys.Core.Common;
|
|
using djy.Model;
|
|
using djy.Paas.Model;
|
|
using djy.Paas.IService;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
|
|
namespace djyweb_djyPaasApi.Controllers
|
|
{
|
|
/// <summary>
|
|
/// 企业客户和联系人
|
|
/// </summary>
|
|
[AllowAnonymous]
|
|
public class ClientLinkController : ApiBase
|
|
{
|
|
IClientLinkInfoService _client = IOC.AddServer<IClientLinkInfoService>();
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="Dto"></param>
|
|
/// <param name="apiFrom"></param>
|
|
/// <returns></returns>
|
|
[HttpGet]
|
|
public object GetList([FromQuery] ClientLinkInfoDto Dto, [FromQuery] ApiFromDto apiFrom)
|
|
{
|
|
//Dto.CompGid = GetUserInfo().CompId;
|
|
return _client.GetList(Dto, apiFrom);
|
|
}
|
|
|
|
}
|
|
}
|