11
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Http;
|
||||
|
||||
namespace WebApi.Controllers
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取承包商信息接口
|
||||
/// </summary>
|
||||
public class SyncContractorController: ApiController
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取承包商信息接口
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
public Model.ResponeData GetContractorList()
|
||||
{
|
||||
BLL.APIService.SyncContractorService.GetSyncContractor();
|
||||
var result = new Model.ResponeData();
|
||||
result.message = "接口已请求";
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user