Commit 65262a36048ebe62d9f761f694c3c61bfad2fb49
1 parent
bb5d0ea0
Update multiple .DS_Store files and add [AllowAnonymous] attribute to several me…
…thods in LqStatisticsService to enhance accessibility for API endpoints.
Showing
5 changed files
with
8 additions
and
0 deletions
.DS_Store
No preview for this file type
netcore/src/.DS_Store
No preview for this file type
netcore/src/Application/.DS_Store
No preview for this file type
netcore/src/Application/NCC.API/.DS_Store
No preview for this file type
netcore/src/Modularity/Extend/NCC.Extend/LqStatisticsService.cs
| ... | ... | @@ -77,6 +77,7 @@ namespace NCC.Extend.LqStatistics |
| 77 | 77 | /// <response code="200">成功返回门店业绩统计列表</response> |
| 78 | 78 | /// <response code="500">服务器内部错误</response> |
| 79 | 79 | [HttpGet("GetStorePerformanceList")] |
| 80 | + [AllowAnonymous] | |
| 80 | 81 | public async Task<List<StorePerformanceOutput>> GetStorePerformanceList() |
| 81 | 82 | { |
| 82 | 83 | try |
| ... | ... | @@ -135,6 +136,7 @@ namespace NCC.Extend.LqStatistics |
| 135 | 136 | /// <response code="200">成功返回门店开单业绩统计列表</response> |
| 136 | 137 | /// <response code="500">服务器内部错误</response> |
| 137 | 138 | [HttpGet("GetStoreOrderPerformanceList")] |
| 139 | + [AllowAnonymous] | |
| 138 | 140 | public async Task<List<StorePerformanceOutput>> GetStoreOrderPerformanceList() |
| 139 | 141 | { |
| 140 | 142 | try |
| ... | ... | @@ -207,6 +209,7 @@ namespace NCC.Extend.LqStatistics |
| 207 | 209 | /// <response code="400">请求参数错误</response> |
| 208 | 210 | /// <response code="500">服务器内部错误</response> |
| 209 | 211 | [HttpPost("StoreStatistics")] |
| 212 | + [AllowAnonymous] | |
| 210 | 213 | public async Task<StoreStatisticsOutput> GetStoreStatistics(StoreStatisticsInput input) |
| 211 | 214 | { |
| 212 | 215 | try |
| ... | ... | @@ -313,6 +316,7 @@ namespace NCC.Extend.LqStatistics |
| 313 | 316 | /// <response code="400">请求参数错误</response> |
| 314 | 317 | /// <response code="500">服务器内部错误</response> |
| 315 | 318 | [HttpPost("BusinessUnitStatistics")] |
| 319 | + [AllowAnonymous] | |
| 316 | 320 | public async Task<BusinessUnitStatisticsOutput> GetBusinessUnitStatistics(BusinessUnitStatisticsInput input) |
| 317 | 321 | { |
| 318 | 322 | try |
| ... | ... | @@ -431,6 +435,7 @@ namespace NCC.Extend.LqStatistics |
| 431 | 435 | /// <response code="400">请求参数错误</response> |
| 432 | 436 | /// <response code="500">服务器内部错误</response> |
| 433 | 437 | [HttpPost("OtherDepartmentStatistics")] |
| 438 | + [AllowAnonymous] | |
| 434 | 439 | public async Task<OtherDepartmentStatisticsOutput> GetOtherDepartmentStatistics(OtherDepartmentStatisticsInput input) |
| 435 | 440 | { |
| 436 | 441 | try |
| ... | ... | @@ -551,6 +556,7 @@ namespace NCC.Extend.LqStatistics |
| 551 | 556 | /// <response code="400">请求参数错误</response> |
| 552 | 557 | /// <response code="500">服务器内部错误</response> |
| 553 | 558 | [HttpPost("ManagerStatistics")] |
| 559 | + [AllowAnonymous] | |
| 554 | 560 | public async Task<ManagerStatisticsOutput> GetManagerStatistics(ManagerStatisticsInput input) |
| 555 | 561 | { |
| 556 | 562 | try |
| ... | ... | @@ -675,6 +681,7 @@ namespace NCC.Extend.LqStatistics |
| 675 | 681 | /// <response code="400">请求参数错误</response> |
| 676 | 682 | /// <response code="500">服务器内部错误</response> |
| 677 | 683 | [HttpPost("ManagerSummaryStatistics")] |
| 684 | + [AllowAnonymous] | |
| 678 | 685 | public async Task<ManagerSummaryStatisticsOutput> GetManagerSummaryStatistics(ManagerStatisticsInput input) |
| 679 | 686 | { |
| 680 | 687 | try |
| ... | ... | @@ -805,6 +812,7 @@ namespace NCC.Extend.LqStatistics |
| 805 | 812 | /// <param name="input">查询参数</param> |
| 806 | 813 | /// <returns>科技部老师业绩统计结果</returns> |
| 807 | 814 | [HttpPost("GetTechTeacherStatistics")] |
| 815 | + [AllowAnonymous] | |
| 808 | 816 | public async Task<List<TechTeacherSimpleStatisticsOutput>> GetTechTeacherStatistics(TechTeacherStatisticsInput input) |
| 809 | 817 | { |
| 810 | 818 | try | ... | ... |