...
|
...
|
@@ -25,13 +25,6 @@ func (serviceGateway *HttplibUserServiceGateway) GetUser(companyId int64, orgId |
|
|
if err1 != nil {
|
|
|
return nil, err1
|
|
|
}
|
|
|
//response := make(map[string]interface{})
|
|
|
//err2 := request.ToJSON(&response)
|
|
|
//if err2 != nil {
|
|
|
// return nil, err2
|
|
|
//}
|
|
|
//data, err := serviceGateway.responseHandle(response)
|
|
|
//return data, err
|
|
|
byteResult, err := request.Bytes()
|
|
|
if err != nil {
|
|
|
return nil, fmt.Errorf("获取获取用户失败:%w", err)
|
...
|
...
|
@@ -84,14 +77,6 @@ func (serviceGateway *HttplibUserServiceGateway) GetCompany(companyId int64) (*t |
|
|
"param": options,
|
|
|
})
|
|
|
}
|
|
|
//response := make(map[string]interface{})
|
|
|
//err2 := request.ToJSON(&response)
|
|
|
//if err2 != nil {
|
|
|
// return nil, err2
|
|
|
//}
|
|
|
//
|
|
|
//data, err := serviceGateway.responseHandle(response)
|
|
|
//return data, err
|
|
|
byteResult, err := request.Bytes()
|
|
|
if err != nil {
|
|
|
return nil, fmt.Errorf("获取返回企业失败:%w", err)
|
...
|
...
|
@@ -139,13 +124,6 @@ func (serviceGateway *HttplibUserServiceGateway) GetOrganization(companyId int64 |
|
|
if err1 != nil {
|
|
|
return nil, err1
|
|
|
}
|
|
|
//response := make(map[string]interface{})
|
|
|
//err2 := request.ToJSON(&response)
|
|
|
//if err2 != nil {
|
|
|
// return nil, err2
|
|
|
//}
|
|
|
//data, err := serviceGateway.responseHandle(response)
|
|
|
//return data, err
|
|
|
byteResult, err := request.Bytes()
|
|
|
if err != nil {
|
|
|
return nil, fmt.Errorf("获取返回组织失败:%w", err)
|
...
|
...
|
|