Commit e92500c5 authored by 黄奎's avatar 黄奎

1111

parent 5d245bca
...@@ -10,6 +10,7 @@ using VTX.FW.Attr; ...@@ -10,6 +10,7 @@ using VTX.FW.Attr;
using VTX.FW.Helper; using VTX.FW.Helper;
using System.Linq; using System.Linq;
using EduSpider.Model.Query; using EduSpider.Model.Query;
using System;
namespace EduSpider.WebApi.Controllers namespace EduSpider.WebApi.Controllers
{ {
...@@ -39,7 +40,12 @@ namespace EduSpider.WebApi.Controllers ...@@ -39,7 +40,12 @@ namespace EduSpider.WebApi.Controllers
TeacherIds = userInfo.AccountId.ToString(), TeacherIds = userInfo.AccountId.ToString(),
KeyWords = base.ReqParameters.GetString("KeyWords"), KeyWords = base.ReqParameters.GetString("KeyWords"),
}; };
//此用户查询所有课程
if (userInfo.UserMobile == "18140082527")
{
query.TeacherIds = "";
query.KeyWords = "成都"+DateTime.Now.ToString("yyyy");
}
//全部课程 //全部课程
List<object> AllCourseList = new(); List<object> AllCourseList = new();
//已结课 //已结课
......
...@@ -13,7 +13,7 @@ namespace EduSpider ...@@ -13,7 +13,7 @@ namespace EduSpider
{ {
static void Main(string[] args) static void Main(string[] args)
{ {
string str = VTX.FW.Helper.DESHepler.Decrypt("RjkM10Kzwf++Z+Qx+0veYQ=="); string str = VTX.FW.Helper.DESHepler.Encrypt("082527");
Console.WriteLine(str); Console.WriteLine(str);
var stopTime = 1000 * 60 *2; var stopTime = 1000 * 60 *2;
long times = 1; long times = 1;
......
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