|
|
@@ -11,6 +11,7 @@ import (
|
|
|
// GetUserList 返回用户列表
|
|
|
func GetUserList(ctx context.Context, ids []int64, tenant string) ([]user_def.UserInfoList, error) {
|
|
|
userService := micro_srv.InitMicroSrvClient("User", "micro_srv.admin")
|
|
|
+ defer userService.Close()
|
|
|
rsp := &comm_def.CommonMsg{}
|
|
|
err := userService.Call(ctx, "GetUserInfoById", &comm_def.IdsReq{
|
|
|
Tenant: tenant,
|