45 lines
1.2 KiB
C#
45 lines
1.2 KiB
C#
|
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<String, List<String>> getCatedAuths(int userId);
|
|||
|
|
|||
|
[OperationContract]
|
|||
|
void updateUserTheme(int userId, string theme);
|
|||
|
|
|||
|
[OperationContract]
|
|||
|
List<String> getSpecialAuths(int userId);
|
|||
|
[OperationContract]
|
|||
|
int validUser(string userId, string passwd);
|
|||
|
// [OperationContract]
|
|||
|
// string getHostIpName();
|
|||
|
[OperationContract]
|
|||
|
bool haveSpecialAuth(string userId, string passwd, string spAuth);
|
|||
|
|
|||
|
*/
|
|||
|
}
|
|||
|
}
|