Commit ba288237 authored by 黄奎's avatar 黄奎

页面修改

parent 9fca07c0
using EduSpider.Helpers;
using EduSpider.Model.Entity;
using EduSpider.Model.Entity;
using EduSpider.Repository;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using VTX.FW;
using VTX.FW.Helper;
namespace EduSpider.Spiders.ClassInRule
......@@ -30,7 +26,7 @@ namespace EduSpider.Spiders.ClassInRule
/// </summary>
public async void RunCourse(string cookie)
{
var request = Utility.Helpers.HttpHelper.GenerateHttp(cookie);
var request = Utility.HttpHelper.GenerateHttp(cookie);
var paramStr = "page=1&perpage=20&courseState=1";
var content = new StringContent(paramStr, System.Text.Encoding.UTF8, "application/x-www-form-urlencoded");
var response = await request.PostAsync("https://console.eeo.cn/saasajax/course.ajax.php?action=getCourseList", content);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment