Commit 870c9819 authored by 黄奎's avatar 黄奎

页面修改

parent 81df49fa
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Edu.Common.Plugin
{
/// <summary>
/// 文件帮助类
/// </summary>
public class FileHelper
{
/// <summary>
/// 获取指定文件夹下面的所有文件
/// </summary>
/// <param name="path"></param>
/// <param name="serverPath"></param>
/// <returns></returns>
public static List<FileItem> GetFileAllPath(string path,string savePath)
{
List<FileItem> fileList = new List<FileItem>();
DirectoryInfo rootFolder = new DirectoryInfo(path);
if (rootFolder != null)
{
}
return fileList;
}
}
/// <summary>
/// 文件项目
/// </summary>
public class FileItem
{
/// <summary>
/// 文件名
/// </summary>
public string FileName { get; set; }
/// <summary>
/// 文件全路径
/// </summary>
public string FileUrl { get; set; }
}
}
......@@ -160,7 +160,6 @@ namespace Edu.WebApi.Controllers.LearningGarden
{
int pageIndex = 1;
int pageSize = 20;
int pageCount = 0;
//获取token
string tokenKey = Cache.CacheKey.DATA_WeChatAccountToken + Common.Config.WeChatAccountAppId;
string token = Cache.WeChat.WeChatReidsCache2.GetToken(tokenKey);
......
......@@ -63,7 +63,6 @@ namespace Edu.WebApi.Controllers.User
[AllowAnonymous]
public ApiResult Test()
{
courseModule.RunCourseChapterModule();
return ApiResult.Success();
}
......
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