Commit ebe7bde8 authored by 黄奎's avatar 黄奎

页面修改

parent 5d3bfb1f
......@@ -1204,7 +1204,7 @@ namespace Edu.Module.Course
public void RunWordsUrlModule()
{
var list= course_WordsRepository.GetCourseWordsListRepository(new RB_Course_Words_Extend() {});
string newPath = @"G:\NewWords";
string newPath = @"G:\WebFile\EduSystem\CourseWords";
var fileList = Common.Plugin.FileHelper.GetFileList(newPath);
if (list != null && list.Count > 0 && fileList != null && fileList.Count > 0)
{
......@@ -1217,7 +1217,8 @@ namespace Edu.Module.Course
if (tempWords != null)
{
fileds.Clear();
fileds.Add(nameof(RB_Course_Words_Extend.FileUrl), tempWords.FileUrl);
string newFileUrl = @"/EduSystem/CourseWords/" + tempWords.FileName;
fileds.Add(nameof(RB_Course_Words_Extend.FileUrl), newFileUrl);
bool flag = course_WordsRepository.Update(fileds, new WhereHelper(nameof(RB_Course_Words_Extend.Id), item.Id));
}
}
......
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