Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
EduSpider
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
EduSpider
Commits
dcbe2381
Commit
dcbe2381
authored
May 30, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增实体类
parent
a96fb421
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
561 additions
and
4 deletions
+561
-4
ICourseCommentDetailsRepository.cs
EduSpider.IRepository/ICourseCommentDetailsRepository.cs
+25
-0
ICourseCommentRepository.cs
EduSpider.IRepository/ICourseCommentRepository.cs
+38
-0
IStuCommentRepository.cs
EduSpider.IRepository/IStuCommentRepository.cs
+30
-0
RB_Course_Comment.cs
EduSpider.Model/Entity/RB_Course_Comment.cs
+52
-0
RB_Course_CommentDetails.cs
EduSpider.Model/Entity/RB_Course_CommentDetails.cs
+67
-0
RB_Stu_Comment.cs
EduSpider.Model/Entity/RB_Stu_Comment.cs
+64
-0
RB_Course_Comment_Extend.cs
EduSpider.Model/Extend/RB_Course_Comment_Extend.cs
+16
-0
CourseCommentDetailsRepository.cs
EduSpider.Repository/CourseCommentDetailsRepository.cs
+75
-0
CourseCommentRepository.cs
EduSpider.Repository/CourseCommentRepository.cs
+78
-0
StuCommentRepository.cs
EduSpider.Repository/StuCommentRepository.cs
+75
-0
StuHomeWorkRepository.cs
EduSpider.Repository/StuHomeWorkRepository.cs
+38
-1
ClassInAccountManager.cs
EduSpider/Spiders/ClassInRule/ClassInAccountManager.cs
+3
-3
No files found.
EduSpider.IRepository/ICourseCommentDetailsRepository.cs
0 → 100644
View file @
dcbe2381
using
EduSpider.Model.Entity
;
using
System.Collections.Generic
;
namespace
EduSpider.IRepository
{
/// <summary>
/// 课程评价配置详情仓储接口
/// </summary>
public
interface
ICourseCommentDetailsRepository
{
/// <summary>
/// 新增修改课程评价
/// </summary>
/// <param name="list"></param>
/// <returns></returns>
public
bool
SetCourseCommentDetailsRepository
(
List
<
RB_Course_CommentDetails
>
list
);
/// <summary>
/// 获取课程评价配置列表
/// </summary>
/// <param name="query"></param>
/// <returns></returns>
public
List
<
RB_Course_CommentDetails
>
GetCourseCommentDetailsListRepository
(
RB_Course_Comment
query
);
}
}
EduSpider.IRepository/ICourseCommentRepository.cs
0 → 100644
View file @
dcbe2381
using
EduSpider.Model.Entity
;
using
EduSpider.Model.Extend
;
using
EduSpider.Model.Query
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
EduSpider.IRepository
{
/// <summary>
/// 课程评价配置仓储接口
/// </summary>
public
interface
ICourseCommentRepository
{
/// <summary>
/// 批量新增修改课程评价
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
public
bool
SetCourseCommentRepository
(
RB_Course_Comment_Extend
model
);
/// <summary>
/// 获取课程评价配置列表
/// </summary>
/// <param name="query"></param>
/// <returns></returns>
public
List
<
RB_Course_Comment_Extend
>
GetCourseCommentListRepository
(
CourseQuery
query
);
/// <summary>
/// 根据编号删除课程评价
/// </summary>
/// <param name="Ids"></param>
/// <returns></returns>
public
bool
DeleteCourseCommentRepository
(
string
Ids
);
}
}
EduSpider.IRepository/IStuCommentRepository.cs
0 → 100644
View file @
dcbe2381
using
EduSpider.Model.Entity
;
using
EduSpider.Model.Query
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
EduSpider.IRepository
{
/// <summary>
/// 学员评语仓储接口
/// </summary>
public
interface
IStuCommentRepository
{
/// <summary>
/// 新增修改学员评语
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
public
bool
SetStuCommentRepository
(
RB_Stu_Comment
model
);
/// <summary>
/// 查询学员评语列表
/// </summary>
/// <param name="query"></param>
/// <returns></returns>
public
List
<
RB_Stu_Comment
>
GetStuCommentListRepository
(
CourseQuery
query
);
}
}
EduSpider.Model/Entity/RB_Course_Comment.cs
0 → 100644
View file @
dcbe2381
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
using
VTX.FW.Attr
;
namespace
EduSpider.Model.Entity
{
/// <summary>
/// 课程评价配置实体类
/// </summary>
[
Serializable
]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_Course_Comment
{
/// <summary>
/// 编号
/// </summary>
public
int
Id
{
get
;
set
;
}
/// <summary>
/// 课程编号
/// </summary>
public
int
CourseId
{
get
;
set
;
}
/// <summary>
/// 评价标题
/// </summary>
public
string
Title
{
get
;
set
;
}
/// <summary>
/// 显示类型(1-全部可见,2-部分可见,3-不可见)
/// </summary>
public
int
ShowType
{
get
;
set
;
}
/// <summary>
/// 创建人
/// </summary>
public
int
CreateBy
{
get
;
set
;
}
/// <summary>
/// 创建时间
/// </summary>
public
DateTime
CreateTime
{
get
;
set
;
}
/// <summary>
/// 删除状态(0-正常,1-删除)
/// </summary>
public
int
Status
{
get
;
set
;
}
}
}
EduSpider.Model/Entity/RB_Course_CommentDetails.cs
0 → 100644
View file @
dcbe2381
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
using
VTX.FW.Attr
;
namespace
EduSpider.Model.Entity
{
/// <summary>
/// 课程评价配置详情实体类
/// </summary>
[
Serializable
]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_Course_CommentDetails
{
/// <summary>
/// 课程评价详情主键编号
/// </summary>
public
int
DetailId
{
get
;
set
;
}
/// <summary>
/// 课程评价主表编号
/// </summary>
public
int
CourseCommentId
{
get
;
set
;
}
/// <summary>
/// 开始值
/// </summary>
public
decimal
StartNum
{
get
;
set
;
}
/// <summary>
/// 结束值
/// </summary>
public
decimal
EndNum
{
get
;
set
;
}
/// <summary>
/// 评价内容
/// </summary>
public
string
Info
{
get
;
set
;
}
/// <summary>
/// 删除状态
/// </summary>
public
int
Status
{
get
;
set
;
}
/// <summary>
/// 创建人
/// </summary>
public
int
CreateBy
{
get
;
set
;
}
/// <summary>
/// 创建时间
/// </summary>
public
DateTime
CreateTime
{
get
;
set
;
}
/// <summary>
/// 修改人
/// </summary>
public
int
UpdateBy
{
get
;
set
;
}
/// <summary>
/// 修改时间
/// </summary>
public
DateTime
UpdateTime
{
get
;
set
;
}
}
}
EduSpider.Model/Entity/RB_Stu_Comment.cs
0 → 100644
View file @
dcbe2381
using
System
;
using
VTX.FW.Attr
;
namespace
EduSpider.Model.Entity
{
/// <summary>
/// 学员评语实体类
/// </summary>
[
Serializable
]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_Stu_Comment
{
/// <summary>
/// 主键编号
/// </summary>
public
int
Id
{
get
;
set
;
}
/// <summary>
/// 家庭作业编号
/// </summary>
public
int
HomeWorkId
{
get
;
set
;
}
/// <summary>
/// 学员登录编号
/// </summary>
public
int
StuUid
{
get
;
set
;
}
/// <summary>
/// 课程编号
/// </summary>
public
int
CourseId
{
get
;
set
;
}
/// <summary>
/// 评语次数
/// </summary>
public
int
Times
{
get
;
set
;
}
/// <summary>
/// 评语
/// </summary>
public
string
Info
{
get
;
set
;
}
/// <summary>
/// 创建类型(1-系统创建,2-老师创建)
/// </summary>
public
int
CreateType
{
get
;
set
;
}
/// <summary>
/// 创建时间
/// </summary>
public
DateTime
CreateTime
{
get
;
set
;
}
/// <summary>
/// 创建人
/// </summary>
public
int
CreateBy
{
get
;
set
;
}
/// <summary>
/// 创建人姓名
/// </summary>
public
string
CreateByName
{
get
;
set
;
}
}
}
EduSpider.Model/Extend/RB_Course_Comment_Extend.cs
0 → 100644
View file @
dcbe2381
using
EduSpider.Model.Entity
;
using
System.Collections.Generic
;
namespace
EduSpider.Model.Extend
{
/// <summary>
/// 课程评价配置扩展实体类
/// </summary>
public
class
RB_Course_Comment_Extend
:
RB_Course_Comment
{
/// <summary>
/// 课程评价配置详情列表
/// </summary>
public
List
<
RB_Course_CommentDetails
>
CommentDetails
{
get
;
set
;
}
}
}
EduSpider.Repository/CourseCommentDetailsRepository.cs
0 → 100644
View file @
dcbe2381
using
EduSpider.IRepository
;
using
EduSpider.Model.Entity
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
EduSpider.Repository
{
/// <summary>
/// 课程评价配置详情仓储接口实现
/// </summary>
public
class
CourseCommentDetailsRepository
:
Base
.
BaseRepository
<
RB_Course_CommentDetails
>,
ICourseCommentDetailsRepository
{
/// <summary>
/// 新增修改课程评价
/// </summary>
/// <param name="list"></param>
/// <returns></returns>
public
bool
SetCourseCommentDetailsRepository
(
List
<
RB_Course_CommentDetails
>
list
)
{
bool
flag
=
true
;
if
(
list
!=
null
&&
list
.
Count
>
0
)
{
foreach
(
var
item
in
list
)
{
if
(
flag
)
{
if
(
item
.
DetailId
>
0
)
{
Dictionary
<
string
,
object
>
fileds
=
new
()
{
{
nameof
(
RB_Course_CommentDetails
.
StartNum
),
item
.
StartNum
},
{
nameof
(
RB_Course_CommentDetails
.
EndNum
),
item
.
EndNum
},
{
nameof
(
RB_Course_CommentDetails
.
Info
),
item
.
Info
},
};
flag
=
base
.
UpdateOne
(
fileds
,
new
VTX
.
FW
.
DB
.
WhereHelper
(
nameof
(
RB_Course_CommentDetails
.
DetailId
),
item
.
DetailId
));
}
else
{
var
newId
=
base
.
Insert
(
item
);
item
.
DetailId
=
newId
;
flag
=
newId
>
0
;
}
}
}
}
return
flag
;
}
/// <summary>
/// 获取课程评价配置列表
/// </summary>
/// <param name="query"></param>
/// <returns></returns>
public
List
<
RB_Course_CommentDetails
>
GetCourseCommentDetailsListRepository
(
RB_Course_Comment
query
)
{
StringBuilder
builder
=
new
();
builder
.
AppendFormat
(
@"
SELECT A.*
FROM RB_Course_CommentDetails AS A
WHERE 1=1
"
);
if
(
query
!=
null
)
{
if
(
query
.
Id
>
0
)
{
builder
.
AppendFormat
(
" AND A.{0}={1} "
,
nameof
(
RB_Course_CommentDetails
.
CourseCommentId
),
query
.
Id
);
}
}
return
Get
<
RB_Course_CommentDetails
>(
builder
.
ToString
()).
ToList
();
}
}
}
EduSpider.Repository/CourseCommentRepository.cs
0 → 100644
View file @
dcbe2381
using
EduSpider.IRepository
;
using
EduSpider.Model.Entity
;
using
EduSpider.Model.Extend
;
using
EduSpider.Model.Query
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
EduSpider.Repository
{
/// <summary>
/// 课程评价配置仓储接口实现
/// </summary>
public
class
CourseCommentRepository
:
Base
.
BaseRepository
<
RB_Course_Comment
>,
ICourseCommentRepository
{
/// <summary>
/// 批量新增修改课程评价
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
public
bool
SetCourseCommentRepository
(
RB_Course_Comment_Extend
model
)
{
bool
flag
;
if
(
model
.
Id
>
0
)
{
Dictionary
<
string
,
object
>
fileds
=
new
()
{
{
nameof
(
RB_Course_Comment_Extend
.
Title
),
model
.
Title
},
{
nameof
(
RB_Course_Comment_Extend
.
ShowType
),
model
.
ShowType
},
};
flag
=
base
.
UpdateOne
(
fileds
,
new
VTX
.
FW
.
DB
.
WhereHelper
(
nameof
(
RB_Course_Comment_Extend
.
Id
),
model
.
Id
));
}
else
{
var
newId
=
base
.
Insert
(
model
);
model
.
Id
=
newId
;
flag
=
newId
>
0
;
}
return
flag
;
}
/// <summary>
/// 获取课程评价配置列表
/// </summary>
/// <param name="query"></param>
/// <returns></returns>
public
List
<
RB_Course_Comment_Extend
>
GetCourseCommentListRepository
(
CourseQuery
query
)
{
StringBuilder
builder
=
new
();
builder
.
AppendFormat
(
@"
SELECT A.*
FROM RB_Course_Comment AS A
WHERE 1=1
"
);
if
(
query
!=
null
)
{
if
(
query
.
CourseId
>
0
)
{
builder
.
AppendFormat
(
" AND A.{0}={1} "
,
nameof
(
RB_Course_Comment_Extend
.
CourseId
),
query
.
CourseId
);
}
}
return
Get
<
RB_Course_Comment_Extend
>(
builder
.
ToString
()).
ToList
();
}
/// <summary>
/// 根据编号删除课程评价配置
/// </summary>
/// <param name="Ids"></param>
/// <returns></returns>
public
bool
DeleteCourseCommentRepository
(
string
Ids
)
{
string
sql
=
string
.
Format
(
"UPDATE RB_Course_Comment SET Status=1 WHERE Id IN({0}) "
,
Ids
);
return
base
.
Execute
(
sql
)
>
0
;
}
}
}
EduSpider.Repository/StuCommentRepository.cs
0 → 100644
View file @
dcbe2381
using
EduSpider.IRepository
;
using
EduSpider.Model.Entity
;
using
EduSpider.Model.Query
;
using
EduSpider.Repository.Base
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
using
VTX.FW.DB
;
namespace
EduSpider.Repository
{
/// <summary>
/// 学员评语仓储接口实现
/// </summary>
public
class
StuCommentRepository
:
BaseRepository
<
RB_Stu_Comment
>,
IStuCommentRepository
{
/// <summary>
/// 获取学员评语列表
/// </summary>
/// <param name="query"></param>
/// <returns></returns>
public
List
<
RB_Stu_Comment
>
GetStuCommentListRepository
(
CourseQuery
query
)
{
StringBuilder
builder
=
new
();
builder
.
AppendFormat
(
@"
SELECT A.*
FROM RB_Stu_Comment AS A
WHERE 1=1
"
);
if
(
query
!=
null
)
{
if
(
query
.
CourseId
>
0
)
{
builder
.
AppendFormat
(
" AND A.{0}={1} "
,
nameof
(
RB_Stu_Comment
.
CourseId
),
query
.
CourseId
);
}
if
(!
string
.
IsNullOrWhiteSpace
(
query
.
StuIds
))
{
builder
.
AppendFormat
(
" AND A.{0} IN({1}) "
,
nameof
(
RB_Stu_Comment
.
StuUid
),
query
.
StuIds
);
}
if
(
query
.
HomeWorkId
>
0
)
{
builder
.
AppendFormat
(
" AND A.{0}={1} "
,
nameof
(
RB_Stu_Comment
.
HomeWorkId
),
query
.
HomeWorkId
);
}
}
return
Get
<
RB_Stu_Comment
>(
builder
.
ToString
()).
ToList
();
}
/// <summary>
/// 新增修改学员评语
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
public
bool
SetStuCommentRepository
(
RB_Stu_Comment
model
)
{
bool
flag
;
if
(
model
.
Id
>
0
)
{
Dictionary
<
string
,
object
>
fileds
=
new
()
{
{
nameof
(
RB_Stu_Comment
.
Info
),
model
.
Info
}
};
flag
=
base
.
UpdateOne
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Stu_Comment
.
Id
),
model
.
Id
));
}
else
{
var
newId
=
base
.
Insert
(
model
);
model
.
Id
=
newId
;
flag
=
newId
>
0
;
}
return
flag
;
}
}
}
EduSpider.Repository/StuHomeWorkRepository.cs
View file @
dcbe2381
...
...
@@ -3,6 +3,7 @@ using EduSpider.Model.Entity;
using
EduSpider.Model.Extend
;
using
EduSpider.Model.Query
;
using
EduSpider.Repository.Base
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
...
...
@@ -19,6 +20,11 @@ namespace EduSpider.Repository
/// </summary>
private
readonly
CommentRepository
commentRepository
=
new
();
/// <summary>
/// 学员评论仓储层对象
/// </summary>
private
readonly
StuCommentRepository
stuCommentRepository
=
new
();
/// <summary>
/// 批量添加学生家庭作业
/// </summary>
...
...
@@ -99,6 +105,7 @@ WHERE 1=1
RowNum
++;
}
}
var
commentList
=
stuCommentRepository
.
GetStuCommentListRepository
(
new
CourseQuery
()
{
CourseId
=
query
.
CourseId
,
StuIds
=
query
.
StuIds
});
ExamWorkResult
firstComment
=
null
;
ExamWorkResult
secondComment
=
null
;
...
...
@@ -117,7 +124,16 @@ WHERE 1=1
Title
=
firstList
.
LastOrDefault
().
ThName
+
"老师的评语"
,
Comment
=
commentModel
?.
Info
};
stuCommentRepository
.
Insert
(
new
RB_Stu_Comment
()
{
Id
=
0
,
CourseId
=
query
.
CourseId
,
StuUid
=
Convert
.
ToInt32
(
query
.
StuIds
),
Info
=
commentModel
?.
Info
,
CreateByName
=
firstList
.
LastOrDefault
().
ThName
,
CreateTime
=
firstList
.
LastOrDefault
().
CreateTime
.
AddMinutes
(
1
),
Times
=
1
});
}
if
(
homeWorkList
.
Count
>=
9
)
{
...
...
@@ -131,6 +147,17 @@ WHERE 1=1
Title
=
secondList
.
LastOrDefault
().
ThName
+
"老师的评语"
,
Comment
=
commentModel
?.
Info
};
stuCommentRepository
.
Insert
(
new
RB_Stu_Comment
()
{
Id
=
0
,
CourseId
=
query
.
CourseId
,
StuUid
=
Convert
.
ToInt32
(
query
.
StuIds
),
Info
=
commentModel
?.
Info
,
CreateByName
=
secondList
.
LastOrDefault
().
ThName
,
CreateTime
=
secondList
.
LastOrDefault
().
CreateTime
.
AddMinutes
(
1
),
Times
=
2
});
}
if
(
homeWorkList
.
Count
>=
13
)
{
...
...
@@ -144,6 +171,16 @@ WHERE 1=1
Title
=
thirdList
.
LastOrDefault
().
ThName
+
"老师的评语"
,
Comment
=
commentModel
?.
Info
};
stuCommentRepository
.
Insert
(
new
RB_Stu_Comment
()
{
Id
=
0
,
CourseId
=
query
.
CourseId
,
StuUid
=
Convert
.
ToInt32
(
query
.
StuIds
),
Info
=
commentModel
?.
Info
,
CreateByName
=
thirdList
.
LastOrDefault
().
ThName
,
CreateTime
=
thirdList
.
LastOrDefault
().
CreateTime
.
AddMinutes
(
1
),
Times
=
3
});
}
}
...
...
EduSpider/Spiders/ClassInRule/ClassInAccountManager.cs
View file @
dcbe2381
...
...
@@ -14,9 +14,9 @@ namespace TicketSpider.Spiders.ClassInRule
public
class
ClassInAccountManager
{
private
static
object
lockerSafe
=
new
object
();
private
static
readonly
object
lockerSafe
=
new
();
private
static
string
_loginCookies
=
null
;
//"locationArgumentLang=zh-CN; sensorsdata2015jssdkcross={\"distinct_id\":\"12780052\",\"first_id\":\"180e074a47f92f-06489d0bb8915b-6b3e555b-1327104-180e074a4805d2\",\"props\":{\"$latest_traffic_source_type\":\"直接流量\",\"$latest_search_keyword\":\"未取到值_直接打开\",\"$latest_referrer\":\"\"},\"$device_id\":\"180e074a47f92f-06489d0bb8915b-6b3e555b-1327104-180e074a4805d2\"}; _eeos_uid=12780052; _eeos_useraccount=18140082327; _eeos_userlogo=/upload/images/20200126/709df9532bee722f2268_70.jpg; _eeos_domain=.eeo.cn; _eeos_sid=12780052; _eeos_nsid=kspGu2gfMu+U2EFgLpSGyg==; __tk_id=5792ca4f7a6655c40c4431fbdb729da4; PHPSESSID=l5aanmebp5lvpcbg630ccfha37; _eeos_traffic=EqlIOFq4S2hz5FTTtHzNUViBYcWCixrJYMCF6Y5yJuD8eq8ZwPvVSHMvUkLFA5lzNoaTrDBpGhEY7ykZ9lwMAsNJoNiDt2xKQBr9csRmiBE=";
private
static
string
_loginCookies
=
""
;
//"locationArgumentLang=zh-CN; sensorsdata2015jssdkcross={\"distinct_id\":\"12780052\",\"first_id\":\"180e074a47f92f-06489d0bb8915b-6b3e555b-1327104-180e074a4805d2\",\"props\":{\"$latest_traffic_source_type\":\"直接流量\",\"$latest_search_keyword\":\"未取到值_直接打开\",\"$latest_referrer\":\"\"},\"$device_id\":\"180e074a47f92f-06489d0bb8915b-6b3e555b-1327104-180e074a4805d2\"}; _eeos_uid=12780052; _eeos_useraccount=18140082327; _eeos_userlogo=/upload/images/20200126/709df9532bee722f2268_70.jpg; _eeos_domain=.eeo.cn; _eeos_sid=12780052; _eeos_nsid=kspGu2gfMu+U2EFgLpSGyg==; __tk_id=5792ca4f7a6655c40c4431fbdb729da4; PHPSESSID=l5aanmebp5lvpcbg630ccfha37; _eeos_traffic=EqlIOFq4S2hz5FTTtHzNUViBYcWCixrJYMCF6Y5yJuD8eq8ZwPvVSHMvUkLFA5lzNoaTrDBpGhEY7ykZ9lwMAsNJoNiDt2xKQBr9csRmiBE=";
private
static
bool
_openHeartTimer
=
false
;
...
...
@@ -183,7 +183,7 @@ namespace TicketSpider.Spiders.ClassInRule
var
bgX
=
GetBoundary
(
fileBgPath
,
fileBlockPath
);
Console
.
WriteLine
(
$"读取背景缺口边界X坐标:
{
bgX
}
"
);
Actions
action
=
new
Actions
(
driver
);
Actions
action
=
new
(
driver
);
var
sliderButton
=
driver
.
FindElement
(
By
.
Id
(
"tcaptcha_drag_button"
));
if
(
sliderButton
!=
null
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment