Song.Site/Manage/SOAP/KnowledgeSort.asmx.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Xml;
using System.Reflection;
using WeiSha.Common;
using Song.ServiceInterfaces;
using Song.Entities;
namespace Song.Site.Manage.SOAP
{
/// <summary>
/// Depart 的摘要说明
/// </summary>
[WebService(Namespace = "http://yuefan.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[ToolboxItem(false)]
public class KnowledgeSort : System.Web.Services.WebService
{
[WebMethod]
//获取所有可显示的栏目
public Song.Entities.KnowledgeSort[] All()
{
//当前机构
Song.Entities.Organization org = Business.Do<IOrganization>().OrganCurrent();
return Business.Do<IKnowledge>().GetSortAll(org.Org_ID, -1,null);
}
[WebMethod]
//获取单个栏目信息
public Song.Entities.KnowledgeSort Single(int id)
{
return Business.Do<IKnowledge>().SortSingle(id);
}
[WebMethod]
//获取单个栏目信息
public string SingleJson(int id)
{
Song.Entities.KnowledgeSort nc = Business.Do<IKnowledge>().SortSingle(id);
string json = nc.ToJson();
return json;
}
[WebMethod]
//设置栏目顺序,并返回共显示的所有栏目
public string Order(string result)
{
//保存顺序
this._SaveOrder(Server.UrlDecode(result));
return _getTreeHtml();
}
[WebMethod]
//修改栏目,并返回共显示的所有栏目
public string Update(string result)
{
后面还有 127 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
