mirror of
https://github.com/aceld/kis-flow.git
synced 2025-01-23 07:30:23 +08:00
cancel NewFuncConfig check S and L option
This commit is contained in:
parent
dd634e6921
commit
0c058d3f24
@ -52,16 +52,18 @@ func NewFuncConfig(
|
|||||||
|
|
||||||
config.FMode = string(mode)
|
config.FMode = string(mode)
|
||||||
|
|
||||||
// FunctionS 和 L 需要必传KisConnector参数,原因是S和L需要通过Connector进行建立流式关系
|
/*
|
||||||
if mode == common.S || mode == common.L {
|
// FunctionS 和 L 需要必传KisConnector参数,原因是S和L需要通过Connector进行建立流式关系
|
||||||
if option == nil {
|
if mode == common.S || mode == common.L {
|
||||||
log.Logger().ErrorF("Funcion S/L need option->Cid\n")
|
if option == nil {
|
||||||
return nil
|
log.Logger().ErrorF("Funcion S/L need option->Cid\n")
|
||||||
} else if option.CName == "" {
|
return nil
|
||||||
log.Logger().ErrorF("Funcion S/L need option->Cid\n")
|
} else if option.CName == "" {
|
||||||
return nil
|
log.Logger().ErrorF("Funcion S/L need option->Cid\n")
|
||||||
|
return nil
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
*/
|
||||||
|
|
||||||
if option != nil {
|
if option != nil {
|
||||||
config.Option = *option
|
config.Option = *option
|
||||||
|
Loading…
Reference in New Issue
Block a user