Skip to content

可后置登录接口 BUG #1

Description

@xiaopihai1
cli, err := kingdee.New(config.Conf.Kingdee.ApiPath, nil)

accountInfoBytes,_ :=cli.GetDataCenterList()
panic: session interface undefined

// 获取session数据
func (c *Core) GetSessionData() (*SessionData, error) {
if c.Session == nil {
return nil, errors.New("session interface undefined")
}
return c.Session.GetSession()
}

new 的时候传递nil panic 是样例问题 还是我哪里搞错了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions