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,6 +77,7 @@ namespace NCC.Extend.LqStatistics | ||
| 77 | /// <response code="200">成功返回门店业绩统计列表</response> | 77 | /// <response code="200">成功返回门店业绩统计列表</response> |
| 78 | /// <response code="500">服务器内部错误</response> | 78 | /// <response code="500">服务器内部错误</response> |
| 79 | [HttpGet("GetStorePerformanceList")] | 79 | [HttpGet("GetStorePerformanceList")] |
| 80 | + [AllowAnonymous] | ||
| 80 | public async Task<List<StorePerformanceOutput>> GetStorePerformanceList() | 81 | public async Task<List<StorePerformanceOutput>> GetStorePerformanceList() |
| 81 | { | 82 | { |
| 82 | try | 83 | try |
| @@ -135,6 +136,7 @@ namespace NCC.Extend.LqStatistics | @@ -135,6 +136,7 @@ namespace NCC.Extend.LqStatistics | ||
| 135 | /// <response code="200">成功返回门店开单业绩统计列表</response> | 136 | /// <response code="200">成功返回门店开单业绩统计列表</response> |
| 136 | /// <response code="500">服务器内部错误</response> | 137 | /// <response code="500">服务器内部错误</response> |
| 137 | [HttpGet("GetStoreOrderPerformanceList")] | 138 | [HttpGet("GetStoreOrderPerformanceList")] |
| 139 | + [AllowAnonymous] | ||
| 138 | public async Task<List<StorePerformanceOutput>> GetStoreOrderPerformanceList() | 140 | public async Task<List<StorePerformanceOutput>> GetStoreOrderPerformanceList() |
| 139 | { | 141 | { |
| 140 | try | 142 | try |
| @@ -207,6 +209,7 @@ namespace NCC.Extend.LqStatistics | @@ -207,6 +209,7 @@ namespace NCC.Extend.LqStatistics | ||
| 207 | /// <response code="400">请求参数错误</response> | 209 | /// <response code="400">请求参数错误</response> |
| 208 | /// <response code="500">服务器内部错误</response> | 210 | /// <response code="500">服务器内部错误</response> |
| 209 | [HttpPost("StoreStatistics")] | 211 | [HttpPost("StoreStatistics")] |
| 212 | + [AllowAnonymous] | ||
| 210 | public async Task<StoreStatisticsOutput> GetStoreStatistics(StoreStatisticsInput input) | 213 | public async Task<StoreStatisticsOutput> GetStoreStatistics(StoreStatisticsInput input) |
| 211 | { | 214 | { |
| 212 | try | 215 | try |
| @@ -313,6 +316,7 @@ namespace NCC.Extend.LqStatistics | @@ -313,6 +316,7 @@ namespace NCC.Extend.LqStatistics | ||
| 313 | /// <response code="400">请求参数错误</response> | 316 | /// <response code="400">请求参数错误</response> |
| 314 | /// <response code="500">服务器内部错误</response> | 317 | /// <response code="500">服务器内部错误</response> |
| 315 | [HttpPost("BusinessUnitStatistics")] | 318 | [HttpPost("BusinessUnitStatistics")] |
| 319 | + [AllowAnonymous] | ||
| 316 | public async Task<BusinessUnitStatisticsOutput> GetBusinessUnitStatistics(BusinessUnitStatisticsInput input) | 320 | public async Task<BusinessUnitStatisticsOutput> GetBusinessUnitStatistics(BusinessUnitStatisticsInput input) |
| 317 | { | 321 | { |
| 318 | try | 322 | try |
| @@ -431,6 +435,7 @@ namespace NCC.Extend.LqStatistics | @@ -431,6 +435,7 @@ namespace NCC.Extend.LqStatistics | ||
| 431 | /// <response code="400">请求参数错误</response> | 435 | /// <response code="400">请求参数错误</response> |
| 432 | /// <response code="500">服务器内部错误</response> | 436 | /// <response code="500">服务器内部错误</response> |
| 433 | [HttpPost("OtherDepartmentStatistics")] | 437 | [HttpPost("OtherDepartmentStatistics")] |
| 438 | + [AllowAnonymous] | ||
| 434 | public async Task<OtherDepartmentStatisticsOutput> GetOtherDepartmentStatistics(OtherDepartmentStatisticsInput input) | 439 | public async Task<OtherDepartmentStatisticsOutput> GetOtherDepartmentStatistics(OtherDepartmentStatisticsInput input) |
| 435 | { | 440 | { |
| 436 | try | 441 | try |
| @@ -551,6 +556,7 @@ namespace NCC.Extend.LqStatistics | @@ -551,6 +556,7 @@ namespace NCC.Extend.LqStatistics | ||
| 551 | /// <response code="400">请求参数错误</response> | 556 | /// <response code="400">请求参数错误</response> |
| 552 | /// <response code="500">服务器内部错误</response> | 557 | /// <response code="500">服务器内部错误</response> |
| 553 | [HttpPost("ManagerStatistics")] | 558 | [HttpPost("ManagerStatistics")] |
| 559 | + [AllowAnonymous] | ||
| 554 | public async Task<ManagerStatisticsOutput> GetManagerStatistics(ManagerStatisticsInput input) | 560 | public async Task<ManagerStatisticsOutput> GetManagerStatistics(ManagerStatisticsInput input) |
| 555 | { | 561 | { |
| 556 | try | 562 | try |
| @@ -675,6 +681,7 @@ namespace NCC.Extend.LqStatistics | @@ -675,6 +681,7 @@ namespace NCC.Extend.LqStatistics | ||
| 675 | /// <response code="400">请求参数错误</response> | 681 | /// <response code="400">请求参数错误</response> |
| 676 | /// <response code="500">服务器内部错误</response> | 682 | /// <response code="500">服务器内部错误</response> |
| 677 | [HttpPost("ManagerSummaryStatistics")] | 683 | [HttpPost("ManagerSummaryStatistics")] |
| 684 | + [AllowAnonymous] | ||
| 678 | public async Task<ManagerSummaryStatisticsOutput> GetManagerSummaryStatistics(ManagerStatisticsInput input) | 685 | public async Task<ManagerSummaryStatisticsOutput> GetManagerSummaryStatistics(ManagerStatisticsInput input) |
| 679 | { | 686 | { |
| 680 | try | 687 | try |
| @@ -805,6 +812,7 @@ namespace NCC.Extend.LqStatistics | @@ -805,6 +812,7 @@ namespace NCC.Extend.LqStatistics | ||
| 805 | /// <param name="input">查询参数</param> | 812 | /// <param name="input">查询参数</param> |
| 806 | /// <returns>科技部老师业绩统计结果</returns> | 813 | /// <returns>科技部老师业绩统计结果</returns> |
| 807 | [HttpPost("GetTechTeacherStatistics")] | 814 | [HttpPost("GetTechTeacherStatistics")] |
| 815 | + [AllowAnonymous] | ||
| 808 | public async Task<List<TechTeacherSimpleStatisticsOutput>> GetTechTeacherStatistics(TechTeacherStatisticsInput input) | 816 | public async Task<List<TechTeacherSimpleStatisticsOutput>> GetTechTeacherStatistics(TechTeacherStatisticsInput input) |
| 809 | { | 817 | { |
| 810 | try | 818 | try |