功能开启条件校验接口
This commit is contained in:
parent
6e9ae61861
commit
03fd5d2018
@ -36,7 +36,7 @@ type (
|
||||
CheckTaskCond(session IUserSession, id int32)
|
||||
CheckMlineCond(session IUserSession, id int32)
|
||||
// 查询opencond 配置
|
||||
GetOpenCondCfgById(uid string, id string) (bOpen bool, errdata *pb.ErrorData)
|
||||
CheckOpenCondCfgById(uid string, id string) (bOpen bool, errdata *pb.ErrorData)
|
||||
}
|
||||
|
||||
//邮件业务模块对外接口定义 提供给其他模块使用的
|
||||
|
@ -95,7 +95,8 @@ func (this *ModuleSys) AutoActivate(session comm.IUserSession, cids []string) bo
|
||||
return true
|
||||
}
|
||||
|
||||
func (this *ModuleSys) GetOpenCondCfgById(uid string, id string) (bOpen bool, errdata *pb.ErrorData) {
|
||||
// 功能开启条件校验
|
||||
func (this *ModuleSys) CheckOpenCondCfgById(uid string, id string) (bOpen bool, errdata *pb.ErrorData) {
|
||||
|
||||
conf, err := this.configure.GetOpenCondCfgById(id)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user