From e904a0672267d8f1b25fe92d0b08282f8b5b8d18 Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期五, 26 十一月 2021 14:01:30 +0800 Subject: [PATCH] 增加接口 GetUserProfile --- sysRoleApi.go | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/sysRoleApi.go b/sysRoleApi.go index 2c9b41f..46b21f5 100644 --- a/sysRoleApi.go +++ b/sysRoleApi.go @@ -1,4 +1,4 @@ -package dbapi +package bhomedbapi import ( "encoding/json" @@ -11,9 +11,6 @@ func (api SysRoleApi) FindAll() (bool,interface{}) { url := DATA_URL_PREFIX + "/role/findAll" netNode := getNetNode(url2Topic(Topic_System_Service, url)) - if netNode == nil { - return false,nil - } client := NewClient(WithNodes(netNode)) body, err := client.DoGetRequest(url, nil, nil) if err != nil { -- Gitblit v1.8.0