4
4
using SSCMS . Configuration ;
5
5
using SSCMS . Gather . Abstractions ;
6
6
using SSCMS . Dto ;
7
- using SSCMS . Gather . Core ;
8
7
using SSCMS . Gather . Models ;
9
8
using SSCMS . Repositories ;
10
9
using SSCMS . Services ;
11
- using SSCMS . Utils ;
12
10
13
11
namespace SSCMS . Gather . Controllers . Admin
14
12
{
@@ -17,20 +15,16 @@ namespace SSCMS.Gather.Controllers.Admin
17
15
public partial class StartController : ControllerBase
18
16
{
19
17
private const string Route = "gather/start" ;
20
- private const string RouteActionsGather = "gather/start/actions/gather" ;
21
- private const string RouteActionsStatus = "gather/start/actions/status" ;
22
18
23
19
private readonly IAuthManager _authManager ;
24
- private readonly IGatherManager _gatherManager ;
25
20
private readonly IRuleRepository _ruleRepository ;
26
21
private readonly ISiteRepository _siteRepository ;
27
22
private readonly IChannelRepository _channelRepository ;
28
23
private readonly IContentRepository _contentRepository ;
29
24
30
- public StartController ( IAuthManager authManager , IGatherManager gatherManager , IRuleRepository ruleRepository , ISiteRepository siteRepository , IChannelRepository channelRepository , IContentRepository contentRepository )
25
+ public StartController ( IAuthManager authManager , IRuleRepository ruleRepository , ISiteRepository siteRepository , IChannelRepository channelRepository , IContentRepository contentRepository )
31
26
{
32
27
_authManager = authManager ;
33
- _gatherManager = gatherManager ;
34
28
_ruleRepository = ruleRepository ;
35
29
_siteRepository = siteRepository ;
36
30
_channelRepository = channelRepository ;
@@ -66,21 +60,5 @@ public class SubmitRequest
66
60
public bool SerializeIsOrderByDesc { get ; set ; }
67
61
public bool SerializeIsAddZero { get ; set ; }
68
62
}
69
-
70
- public class GatherRequest : SiteRequest
71
- {
72
- public int RuleId { get ; set ; }
73
- public string Guid { get ; set ; }
74
- }
75
-
76
- public class StatusRequest : SiteRequest
77
- {
78
- public string Guid { get ; set ; }
79
- }
80
-
81
- public class StatusResult
82
- {
83
- public ProgressCache Cache { get ; set ; }
84
- }
85
63
}
86
64
}
0 commit comments