diff --git a/GDZZ.Application/Service/LiveHistoryContacts/LiveHistoryContactsService.cs b/GDZZ.Application/Service/LiveHistoryContacts/LiveHistoryContactsService.cs index 7e3ede7..481b729 100644 --- a/GDZZ.Application/Service/LiveHistoryContacts/LiveHistoryContactsService.cs +++ b/GDZZ.Application/Service/LiveHistoryContacts/LiveHistoryContactsService.cs @@ -67,7 +67,7 @@ namespace GDZZ.Application /// 新增联系人 /// /// - [HttpPost("/LiveHistoryContacts/AddLive")] + [HttpPost("/Mini/LiveHistoryContacts/AddLive")] public async Task AddLive(AddLiveHistoryContactsInput input) { @@ -81,7 +81,7 @@ namespace GDZZ.Application /// 修改消息条数 /// /// - [HttpPut("/LiveHistoryContacts/UPLive")] + [HttpPut("/Mini/LiveHistoryContacts/UPLive")] public async Task UPLive(UpdateLiveHistoryContactsInput input) { @@ -96,7 +96,7 @@ namespace GDZZ.Application /// 删除联系人 /// /// - [HttpDelete("/LiveHistoryContacts/DelLive")] + [HttpDelete("/Mini/LiveHistoryContacts/DelLive")] public async Task DelLive(long ID) { @@ -115,7 +115,7 @@ namespace GDZZ.Application /// /// /// - [HttpGet("/LiveHistoryContacts/list")] + [HttpGet("/Mini/LiveHistoryContacts/list")] public async Task> List() { @@ -167,7 +167,7 @@ namespace GDZZ.Application /// 获取聊天详情 /// /// - [HttpGet("/LiveHistoryContacts/GetMessageLists")] + [HttpGet("/Mini/LiveHistoryContacts/GetMessageLists")] public async Task> GetMessageLists(long OtherUserID) { var res = await this.liveMessageRep.Where(x => x.CreatedUserId == UserManager.UserId && x.OtherUserID == OtherUserID).ToListAsync(); @@ -179,7 +179,7 @@ namespace GDZZ.Application /// /// /// - [HttpPost("/LiveHistoryContacts/addMessage")] + [HttpPost("/Mini/LiveHistoryContacts/addMessage")] public async Task AddMessage(AddLiveMessageInput input) { var entity = input.Adapt(); @@ -213,7 +213,7 @@ namespace GDZZ.Application /// /// /// - [HttpPost("/LiveHistoryContacts/upload")] + [HttpPost("/Mini/LiveHistoryContacts/upload")] public async Task UploadFileDefault(IFormFile file) { // 可以读取系统配置来决定将文件存储到什么地方 diff --git a/GDZZ.Application/Service/MiniBanner/MiniBannerService.cs b/GDZZ.Application/Service/MiniBanner/MiniBannerService.cs index 4d4414a..aca19be 100644 --- a/GDZZ.Application/Service/MiniBanner/MiniBannerService.cs +++ b/GDZZ.Application/Service/MiniBanner/MiniBannerService.cs @@ -27,7 +27,7 @@ namespace GDZZ.Application /// /// /// - [HttpGet("/MiniBanner/page")] + [HttpGet("/Mini/BannePpage")] public async Task Page([FromQuery] MiniBannerInput input) { var entities = await _rep.AsQueryable() @@ -40,7 +40,7 @@ namespace GDZZ.Application /// /// /// - [HttpPost("/MiniBanner/add")] + [HttpPost("/Mini/BannerAdd")] public async Task Add(AddMiniBannerInput input) { var entity = input.Adapt(); @@ -52,7 +52,7 @@ namespace GDZZ.Application /// /// /// - [HttpPost("/MiniBanner/delete")] + [HttpPost("/Mini/BannerDelete")] public async Task Delete(DeleteMiniBannerInput input) { var entity = await _rep.FirstOrDefaultAsync(u => u.Id == input.Id); @@ -64,7 +64,7 @@ namespace GDZZ.Application /// /// /// - [HttpPost("/MiniBanner/edit")] + [HttpPost("/Mini/BannerEdit")] public async Task Update(UpdateMiniBannerInput input) { var entity = input.Adapt(); @@ -76,7 +76,7 @@ namespace GDZZ.Application /// /// /// - [HttpGet("/MiniBanner/detail")] + [HttpGet("/Mini/BannerDetail")] public async Task Get([FromQuery] QueryeMiniBannerInput input) { return await _rep.FirstOrDefaultAsync(u => u.Id == input.Id); @@ -87,7 +87,7 @@ namespace GDZZ.Application /// /// /// - [HttpGet("/Mini/Banner/list")] + [HttpGet("/Mini/GetBannerList")] public async Task List([FromQuery] MiniBannerInput input) { return await _rep.ToListAsync();