using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; using System.Data; namespace DeiNiu.Wcf { // 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码和配置文件中的接口名“ISetup”。 [ServiceContract] public interface IPortal { //[OperationContract] //void updateConnConfig(string conn); // [OperationContract] // string getConnConfig(); [OperationContract] string login(string account,string passwd); // [OperationContract] // DataTable getDictionary(); /* [OperationContract] Dictionary> getCatedAuths(int userId); [OperationContract] void updateUserTheme(int userId, string theme); [OperationContract] List getSpecialAuths(int userId); [OperationContract] int validUser(string userId, string passwd); // [OperationContract] // string getHostIpName(); [OperationContract] bool haveSpecialAuth(string userId, string passwd, string spAuth); */ } }