修复bug
This commit is contained in:
parent
c22f967a99
commit
679a443efe
|
@ -172,11 +172,11 @@ func (c *Core) RespondDaily(user *model.User, model string) {
|
||||||
//}
|
//}
|
||||||
|
|
||||||
//获取专项答题ID
|
//获取专项答题ID
|
||||||
//id, err = getSpecialID(user.ToCookies())
|
id, err = getSpecialID(user.ToCookies())
|
||||||
//if err != nil {
|
if err != nil {
|
||||||
// return
|
return
|
||||||
//}
|
}
|
||||||
id = 81
|
//id = 81
|
||||||
// 跳转到专项答题界面
|
// 跳转到专项答题界面
|
||||||
_, err = page.Goto(fmt.Sprintf("https://pc.xuexi.cn/points/exam-paper-detail.html?id=%d", id), playwright.PageGotoOptions{
|
_, err = page.Goto(fmt.Sprintf("https://pc.xuexi.cn/points/exam-paper-detail.html?id=%d", id), playwright.PageGotoOptions{
|
||||||
Referer: playwright.String(MyPointsUri),
|
Referer: playwright.String(MyPointsUri),
|
||||||
|
|
Loading…
Reference in New Issue