WebPortal_Lib/01.Lib/com/util/course/CourseUtil.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Web.Caching;
using System.Collections.Generic;
using System.Collections;
using com.constant;
using com.constant.common;
namespace com.util.course{
/// <summary>
/// CourseUtil
/// </summary>
public class CourseUtil
{
#region 构造函数
public CourseUtil()
{
}
static CourseUtil()
{
}
#endregion
#region 获取电子教案的下载程序的路径,名称:getTeachingplanDownloadHandlePath
/// <summary>
/// 获取电子教案的下载程序的路径,名称:getTeachingplanDownloadHandlePath
/// </summary>
public static string getTeachingplanDownloadHandlePath(string ids, int layer)
{
string prefix = "../";
string url = "common/ashx/res/resource_view.ashx?type=downloadattachment";
string fullurl = "";
for (int i = 0; i < layer; i++)
{
url = prefix + url;
}
fullurl = url + "&ids=" + ids;
return fullurl;
}
#endregion
#region 获取资源的下载程序的路径,名称:getResource2DownloadHandlePath
后面还有 47 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。