修复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, err = getSpecialID(user.ToCookies())
|
||||
//if err != nil {
|
||||
// return
|
||||
//}
|
||||
id = 81
|
||||
id, err = getSpecialID(user.ToCookies())
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
//id = 81
|
||||
// 跳转到专项答题界面
|
||||
_, err = page.Goto(fmt.Sprintf("https://pc.xuexi.cn/points/exam-paper-detail.html?id=%d", id), playwright.PageGotoOptions{
|
||||
Referer: playwright.String(MyPointsUri),
|
||||
|
|
Loading…
Reference in New Issue